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
@@ -26,6 +26,9 @@ class MyClass : public list_base_hook<> //This is a derivation hook
MyClass(int i)
: int_(i)
{}
//<-
int get_int() const { return int_; }
//->
};
//Define a list that will store MyClass using the public base hook