Commit 6f97a7c4 by Marcus Winter

containers_cpp: removed cppcheck style warnings

parent 6e869a71
......@@ -32,7 +32,7 @@ ObjectPoolTestStruct::ObjectPoolTestStruct(int thread_id)
: thread_id(thread_id) {
}
int ObjectPoolTestStruct::GetThreadId() {
int ObjectPoolTestStruct::GetThreadId() const {
return thread_id;
}
} // namespace test
......
......@@ -39,7 +39,7 @@ class ObjectPoolTestStruct {
int thread_id;
public:
explicit ObjectPoolTestStruct(int thread_id);
int GetThreadId();
int GetThreadId() const;
};
template<typename ValuePool>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment