diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
commit | b8cf34c691623e4ec329053cbbf68522a855882d (patch) | |
tree | 34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/endian/arithmetic.hpp | |
parent | 3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff) | |
download | boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2 boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip |
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/endian/arithmetic.hpp')
-rw-r--r-- | boost/endian/arithmetic.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/boost/endian/arithmetic.hpp b/boost/endian/arithmetic.hpp index d8bcbe62b4..e20d25b3b4 100644 --- a/boost/endian/arithmetic.hpp +++ b/boost/endian/arithmetic.hpp @@ -21,8 +21,8 @@ #ifndef BOOST_ENDIAN_ARITHMETIC_HPP #define BOOST_ENDIAN_ARITHMETIC_HPP -#if defined(_MSC_VER) -# pragma warning(push) +#if defined(_MSC_VER) +# pragma warning(push) # pragma warning(disable:4365) // conversion ... signed/unsigned mismatch #endif @@ -300,7 +300,7 @@ namespace endian # ifndef BOOST_ENDIAN_NO_CTORS endian_arithmetic() BOOST_ENDIAN_DEFAULT_CONSTRUCT BOOST_ENDIAN_EXPLICIT_OPT endian_arithmetic(T val) BOOST_NOEXCEPT - { + { # ifdef BOOST_ENDIAN_LOG if ( endian_log ) std::cout << "big, unaligned, " << n_bits << "-bits, construct(" << val << ")\n"; @@ -325,7 +325,7 @@ namespace endian # ifndef BOOST_ENDIAN_NO_CTORS endian_arithmetic() BOOST_ENDIAN_DEFAULT_CONSTRUCT BOOST_ENDIAN_EXPLICIT_OPT endian_arithmetic(T val) BOOST_NOEXCEPT - { + { # ifdef BOOST_ENDIAN_LOG if ( endian_log ) std::cout << "little, unaligned, " << n_bits << "-bits, construct(" << val << ")\n"; @@ -361,7 +361,7 @@ namespace endian this->m_value = ::boost::endian::native_to_big(val); } -# endif +# endif endian_arithmetic& operator=(T val) BOOST_NOEXCEPT { this->m_value = ::boost::endian::native_to_big(val); @@ -390,7 +390,7 @@ namespace endian # endif this->m_value = ::boost::endian::native_to_little(val); } -# endif +# endif endian_arithmetic& operator=(T val) BOOST_NOEXCEPT { this->m_value = ::boost::endian::native_to_little(val); @@ -406,8 +406,8 @@ namespace endian # pragma pack(pop) #endif -#if defined(_MSC_VER) -# pragma warning(pop) -#endif +#if defined(_MSC_VER) +# pragma warning(pop) +#endif #endif // BOOST_ENDIAN_ARITHMETIC_HPP |