Skip to content

Commit 571b0d8

Browse files
committed
[IFS] Fix the copy constructor warning in IFSStub.cpp
This change fixes the gcc warning on copy constructor in IFSStub.cpp file. Differential Revision: https://reviews.llvm.org/D108000
1 parent 6c3ae44 commit 571b0d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/InterfaceStub/IFSStub.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ IFSStub::IFSStub(IFSStub &&Stub) {
2929
Symbols = std::move(Stub.Symbols);
3030
}
3131

32-
IFSStubTriple::IFSStubTriple(IFSStubTriple const &Stub) {
32+
IFSStubTriple::IFSStubTriple(IFSStubTriple const &Stub) : IFSStub() {
3333
IfsVersion = Stub.IfsVersion;
3434
Target = Stub.Target;
3535
SoName = Stub.SoName;
3636
NeededLibs = Stub.NeededLibs;
3737
Symbols = Stub.Symbols;
3838
}
3939

40-
IFSStubTriple::IFSStubTriple(IFSStub const &Stub) {
40+
IFSStubTriple::IFSStubTriple(IFSStub const &Stub) : IFSStub() {
4141
IfsVersion = Stub.IfsVersion;
4242
Target = Stub.Target;
4343
SoName = Stub.SoName;

0 commit comments

Comments
 (0)