From 24fbacb037afc6e48926d9737136d0aff082aaa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Krzemie=C5=84ski?= Date: Mon, 12 Oct 2015 12:29:24 +0200 Subject: [PATCH] Fixed unused warning --- test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp b/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp index 42b3606..07bb1b6 100644 --- a/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp +++ b/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp @@ -9,6 +9,7 @@ // You are welcome to contact the author at: // akrzemi1@gmail.com +#include "boost/core/ignore_unused.hpp" #include "boost/core/lightweight_test.hpp" #include "boost/optional/detail/optional_config.hpp" @@ -35,6 +36,7 @@ struct Binder int main() { Binder b = global_i; + boost::ignore_unused(b); return boost::report_errors(); }