mirror of
https://github.com/boostorg/intrusive.git
synced 2026-04-28 18:02:04 +02:00
Fix clang 6.0 warnings in tests: unused members, suspicious return types
This commit is contained in:
@@ -27,6 +27,9 @@ class MyClass : public slist_base_hook<>
|
||||
MyClass(int i)
|
||||
: int_(i)
|
||||
{}
|
||||
//<-
|
||||
int get_int() const { return int_; }
|
||||
//->
|
||||
};
|
||||
|
||||
//Define an slist that will store MyClass using the public base hook
|
||||
|
||||
Reference in New Issue
Block a user