From 18fe652cbc13c854b9a37168669491b1daf2b78d Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 26 Apr 2016 15:58:20 +0200 Subject: [PATCH] fix build --- alib2common/src/core/components.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alib2common/src/core/components.hpp b/alib2common/src/core/components.hpp index bf3b3bdba7..eddd7acc70 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 ) ... }; } }; -- GitLab