Revise usage of BOOST_NO_CXX11_RVALUE_REFERENCES

Now the flag will be present when building with boost version <= 1.59.
Closes #8990.
This commit is contained in:
Chocobo1
2018-06-01 00:31:16 +08:00
committed by sledgehammer999
parent 3d851a448f
commit b107b745f2
4 changed files with 47 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
#DEFINES += BOOST_ASIO_SEPARATE_COMPILATION
# Enable if building against libtorrent 1.0.x (RC_1_0) (dynamic linking)
#DEFINES += BOOST_ASIO_DYN_LINK
# Enable if encountered build error with boost version <= 1.59
#DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
# Enable if building against libtorrent 1.1.x (RC_1_1)
# built with this flag defined