Skip to content

Commit

Permalink
[IFS] Fix the copy constructor warning in IFSStub.cpp
Browse files Browse the repository at this point in the history
This change fixes the gcc warning on copy constructor in IFSStub.cpp
file.

Differential Revision: https://reviews.llvm.org/D108000
  • Loading branch information
zeroomega committed Aug 13, 2021
1 parent 6c3ae44 commit 571b0d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/InterfaceStub/IFSStub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ IFSStub::IFSStub(IFSStub &&Stub) {
Symbols = std::move(Stub.Symbols);
}

IFSStubTriple::IFSStubTriple(IFSStubTriple const &Stub) {
IFSStubTriple::IFSStubTriple(IFSStubTriple const &Stub) : IFSStub() {
IfsVersion = Stub.IfsVersion;
Target = Stub.Target;
SoName = Stub.SoName;
NeededLibs = Stub.NeededLibs;
Symbols = Stub.Symbols;
}

IFSStubTriple::IFSStubTriple(IFSStub const &Stub) {
IFSStubTriple::IFSStubTriple(IFSStub const &Stub) : IFSStub() {
IfsVersion = Stub.IfsVersion;
Target = Stub.Target;
SoName = Stub.SoName;
Expand Down

0 comments on commit 571b0d8

Please sign in to comment.