diff options
author | Haojian Wu <hokein@google.com> | 2019-01-24 09:35:08 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2019-01-24 09:35:08 +0000 |
commit | f70a4c77127853288f42c5a903312c0691c94871 (patch) | |
tree | f04c8dd77dc15c005e0f7a45815f33a67e396680 /lldb/source/Plugins/ObjectFile | |
parent | b6d3c50a368dc0faf0846762df349e606d1e7ebd (diff) | |
download | bcm5719-llvm-f70a4c77127853288f42c5a903312c0691c94871.tar.gz bcm5719-llvm-f70a4c77127853288f42c5a903312c0691c94871.zip |
Fix potential ODR vialation.
llvm-svn: 352035
Diffstat (limited to 'lldb/source/Plugins/ObjectFile')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h b/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h index 472b2e25e65..df3d59ab58c 100644 --- a/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h +++ b/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h @@ -56,7 +56,7 @@ public: UUID ID; }; -bool operator==(const ModuleRecord &L, const ModuleRecord &R) { +inline bool operator==(const ModuleRecord &L, const ModuleRecord &R) { return L.OS == R.OS && L.Arch == R.Arch && L.ID == R.ID; } llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const ModuleRecord &R); |