diff options
Diffstat (limited to 'entityx/Components_test.cc')
-rw-r--r-- | entityx/Components_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/entityx/Components_test.cc b/entityx/Components_test.cc index 8fe05ec..8c4d210 100644 --- a/entityx/Components_test.cc +++ b/entityx/Components_test.cc @@ -4,7 +4,7 @@ * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. - * + * * Author: Alec Thomas <alec@swapoff.org> */ @@ -24,6 +24,7 @@ int size(const T &t) { int n = 0; for (auto i : t) { ++n; + (void)i; // Unused on purpose, suppress warning } return n; } |