diff options
author | Philipp A. Hartmann <pah@qo.cx> | 2014-07-08 22:41:59 +0400 |
---|---|---|
committer | Philipp A. Hartmann <pah@qo.cx> | 2014-07-08 22:41:59 +0400 |
commit | 9b3969d0e1879d4661f163dba63922a78036fa71 (patch) | |
tree | 364b15693df1bfda1318328e342722f08bf69e81 /build | |
parent | ed9cdbc2f7f78d9936e5236632608c2589e84125 (diff) |
GenericValue: fixup bool constructor
With the new string handling API, the constructor taking a `bool`
parameter matches in some unwanted cases, as pointers can be casted
to `bool` implicitly.
Add a SFINAE helper to this constructor to avoid matching arbitrary
pointers. To avoid confusion for the user, this mechanism is hidden
from the Doxygen documentation.
Diffstat (limited to 'build')
-rw-r--r-- | build/Doxyfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/Doxyfile b/build/Doxyfile index 9d504b5e..d2a57d58 100644 --- a/build/Doxyfile +++ b/build/Doxyfile @@ -1991,6 +1991,7 @@ INCLUDE_FILE_PATTERNS = # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. PREDEFINED = \ + RAPIDJSON_DOXYGEN_RUNNING \ RAPIDJSON_DISABLEIF_RETURN(cond,returntype)=returntype # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this |