mirror of
https://github.com/boostorg/log.git
synced 2026-02-13 00:22:22 +00:00
Fixed compilation for C++03 compilers.
This commit is contained in:
@@ -155,7 +155,11 @@ struct literal_formatter
|
||||
typedef std::basic_string< char_type > string_type;
|
||||
typedef basic_formatting_ostream< char_type > stream_type;
|
||||
|
||||
explicit literal_formatter(BOOST_RV_REF(string_type) str) : m_str(boost::move(str))
|
||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||
explicit literal_formatter(string_type&& str) : m_str(boost::move(str))
|
||||
#else
|
||||
explicit literal_formatter(string_type const& str) : m_str(str)
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user