Skip to content

Commit

Permalink
Include iomanip before checking feature macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire authored Nov 4, 2023
1 parent 26bc5d5 commit b7a4fa5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test_fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@
#include <boost/nowide/cstdio.hpp>
#include <boost/nowide/fstream.hpp>
#include <boost/nowide/utf/convert.hpp>
#include "test.hpp"

#include <iomanip> // Required for feature macro check below
// Conditional include to avoid warning/message
#if defined(__cpp_lib_quoted_string_io) && __cpp_lib_quoted_string_io >= 201304
#include <boost/nowide/quoted.hpp>
#endif
#include "test.hpp"
#include <iomanip>

#include <sstream>
#include <type_traits>
#if defined(_MSC_VER)
Expand Down

0 comments on commit b7a4fa5

Please sign in to comment.