diff --git a/alib2common/src/core/components.hpp b/alib2common/src/core/components.hpp index bf3b3bdba72af42aad4fc26454a234ca1e89b5c4..eddd7acc70a8af71cdc06b3bea1c900a44435e1d 100644 --- a/alib2common/src/core/components.hpp +++ b/alib2common/src/core/components.hpp @@ -325,7 +325,7 @@ protected: * postponed checker function */ void checkState ( ) { - std::initializer_list < int > { ( Component < Derived, SymbolType, SetTypes >::checkState ( ), 0 ) ... }; + ( void ) std::initializer_list < int > { ( Component < Derived, SymbolType, SetTypes >::checkState ( ), 0 ) ... }; } }; @@ -375,7 +375,7 @@ protected: * postponed checker function */ void checkState ( ) { - std::initializer_list < int > { ( Element < Derived, SymbolType, ElementTypes >::checkState ( ), 0 ) ... }; + ( void ) std::initializer_list < int > { ( Element < Derived, SymbolType, ElementTypes >::checkState ( ), 0 ) ... }; } };