You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2021/01/04 14:43:21 UTC

[GitHub] [celix] dhbfischer commented on a change in pull request #311: Added member initialization for framework test to fix building with -Weffc++ and/or -Werror

dhbfischer commented on a change in pull request #311:
URL: https://github.com/apache/celix/pull/311#discussion_r551357062



##########
File path: libs/framework/gtest/src/DependencyManagerTestSuite.cc
##########
@@ -114,6 +114,10 @@ TEST_F(DependencyManagerTestSuite, StartDmWillBuildCmp) {
 }
 
 struct TestService {
+public:
+    TestService() : handle(nullptr) {};
+    TestService(void *_handle) : handle(_handle) {};

Review comment:
       Thanks, I've edited the implementation.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org