Fix clang 6.0 warnings in tests: unused members, suspicious return types

This commit is contained in:
Ion Gaztañaga
2018-09-18 14:26:31 +02:00
parent d94fbc76cc
commit 99326f50fb
9 changed files with 20 additions and 4 deletions
+3
View File
@@ -23,6 +23,9 @@ class MyClass : public list_base_hook<>
list_member_hook<> member_hook_;
MyClass(int i) : int_(i) {}
//<-
int get_int() const { return int_; }
//->
};
//Define a list that will store MyClass using the base hook