ASSIGN -> CONVERT

This commit is contained in:
Andrzej Krzemieński
2015-10-10 15:26:32 +02:00
parent 80a245c8de
commit ffa64ccea2

View File

@ -12,7 +12,7 @@
#include "boost/core/lightweight_test.hpp" #include "boost/core/lightweight_test.hpp"
#include "boost/optional/detail/optional_config.hpp" #include "boost/optional/detail/optional_config.hpp"
#ifndef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT #ifndef BOOST_OPTIONAL_CONFIG_NO_PROPER_CONVERT_FROM_CONST_INT
int main() int main()
{ {
@ -26,9 +26,9 @@ const int global_i = 0;
struct Binder struct Binder
{ {
Binder(const int& i) Binder(const int& i)
{ {
BOOST_TEST(&i == &global_i); BOOST_TEST(&i == &global_i);
} }
}; };