Allow binding to optional rvalues (We should fix this properly)

release/4.3a0
cbeall3 2015-10-20 14:41:28 -04:00
parent 55ed99141e
commit e694d62b3f
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ endif()
if(NOT (${Boost_VERSION} LESS 105600))
message("Ignoring Boost restriction on optional lvalue assignment from rvalues")
add_definitions(-DBOOST_OPTIONAL_ALLOW_BINDING_TO_RVALUES)
add_definitions(-DBOOST_OPTIONAL_ALLOW_BINDING_TO_RVALUES -DBOOST_OPTIONAL_CONFIG_ALLOW_BINDING_TO_RVALUES)
endif()
###############################################################################