From 06320f5dba44e66959ca71be7ba2ad1844edbbbb Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Fri, 21 Feb 2020 19:58:12 +0100 Subject: [PATCH] Fix 'inherits via dominance' warning (again) --- include/boost/nowide/fstream.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/boost/nowide/fstream.hpp b/include/boost/nowide/fstream.hpp index c3d30ef..d449528 100644 --- a/include/boost/nowide/fstream.hpp +++ b/include/boost/nowide/fstream.hpp @@ -187,9 +187,6 @@ namespace nowide { using fstream_impl::close; using fstream_impl::rdbuf; }; -#ifdef BOOST_MSVC -#pragma warning(pop) -#endif /// /// Same as std::filebuf but accepts UTF-8 strings under Windows @@ -283,7 +280,9 @@ namespace nowide { return const_cast(&buf_); } }; - +#ifdef BOOST_MSVC +#pragma warning(pop) +#endif /// Trait to heuristically check for a *::filesystem::path /// Done by checking for make_preferred and filename member functions with correct signature template