mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix explicit conversion: optional::operator bool, string::operator std::string, string_ref::operator std::string
This commit is contained in:
parent
e5efbfe340
commit
7f6081e0cc
5 changed files with 15 additions and 16 deletions
|
@ -47,11 +47,14 @@
|
|||
|
||||
//
|
||||
// SPROUT_USE_EXPLICIT_CONVERSION_OPERATORS
|
||||
// SPROUT_EXPLICIT_CONVERSION
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_USE_EXPLICIT_CONVERSION_OPERATORS 1
|
||||
# define SPROUT_EXPLICIT_CONVERSION explicit
|
||||
#else // #ifndef SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_USE_EXPLICIT_CONVERSION_OPERATORS 0
|
||||
# define SPROUT_EXPLICIT_CONVERSION
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_EXPLICIT_CONVERSION_OPERATORS
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue