summaryrefslogtreecommitdiff
path: root/test/std/iterators/iterators.general/gcc_workaround.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/iterators/iterators.general/gcc_workaround.pass.cpp')
-rw-r--r--test/std/iterators/iterators.general/gcc_workaround.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/std/iterators/iterators.general/gcc_workaround.pass.cpp b/test/std/iterators/iterators.general/gcc_workaround.pass.cpp
index 6522bd3c7..28a5e95f3 100644
--- a/test/std/iterators/iterators.general/gcc_workaround.pass.cpp
+++ b/test/std/iterators/iterators.general/gcc_workaround.pass.cpp
@@ -11,10 +11,10 @@
#include <string>
-void f(const std::string &s) { s.begin(); }
+void f(const std::string &s) { (void)s.begin(); }
#include <vector>
-void AppendTo(const std::vector<char> &v) { v.begin(); }
+void AppendTo(const std::vector<char> &v) { (void)v.begin(); }
int main() {}