maidsafe-archive / MaidSafe

This is the super-project in which each MaidSafe library resides. Some information is common to all libraries, and is detailed here. Library-specific information can be found in each library's wiki.
Other
583 stars 102 forks source link

boost::Expected fix for ODR issue on Windows #182

Closed mmoadeli closed 9 years ago

mmoadeli commented 9 years ago

The fixes from Vincent from https://github.com/ptal/expected/commit/42cf68d6688c6a9879c28e1eeb82a7109979eff0 and adding static to declaration of "BOOST_CONSTEXPR static struct only_set_valid_t{} only_set_valid{};" to avoid ODR.