mirror of
https://github.com/boostorg/uuid.git
synced 2026-01-19 04:42:16 +00:00
Fix msvc-14.0, msvc-14.1 errors in nil_uuid
This commit is contained in:
@@ -6,13 +6,14 @@
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
#include <boost/config.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace uuids {
|
||||
|
||||
constexpr uuid nil_uuid() noexcept
|
||||
BOOST_CXX14_CONSTEXPR inline uuid nil_uuid() noexcept
|
||||
{
|
||||
return {};
|
||||
return {{}};
|
||||
}
|
||||
|
||||
}} // namespace boost::uuids
|
||||
|
||||
Reference in New Issue
Block a user