mirror of
https://github.com/boostorg/uuid.git
synced 2026-01-19 04:42:16 +00:00
Removed unnecessary includes and warning suppression in uuid_io.hpp.
This commit is contained in:
@@ -13,17 +13,10 @@
|
|||||||
#include <boost/uuid/detail/uuid_from_string.hpp>
|
#include <boost/uuid/detail/uuid_from_string.hpp>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <istream>
|
#include <ios>
|
||||||
#include <locale>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#pragma warning(push) // Save warning settings.
|
|
||||||
#pragma warning(disable : 4996) // Disable deprecated std::ctype<char>::widen, std::copy
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace uuids {
|
namespace uuids {
|
||||||
|
|
||||||
@@ -128,8 +121,4 @@ inline std::wstring to_wstring( uuid const& u )
|
|||||||
|
|
||||||
}} //namespace boost::uuids
|
}} //namespace boost::uuids
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#pragma warning(pop) // Restore warnings to previous state.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // BOOST_UUID_UUID_IO_HPP_INCLUDED
|
#endif // BOOST_UUID_UUID_IO_HPP_INCLUDED
|
||||||
|
|||||||
Reference in New Issue
Block a user