diff options
Diffstat (limited to 'Source/cmDebuggerVariables.h')
-rw-r--r-- | Source/cmDebuggerVariables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDebuggerVariables.h b/Source/cmDebuggerVariables.h index eaaf2a8..753b811 100644 --- a/Source/cmDebuggerVariables.h +++ b/Source/cmDebuggerVariables.h @@ -45,7 +45,7 @@ struct cmDebuggerVariableEntry } cmDebuggerVariableEntry(std::string name, const char* value) : Name(std::move(name)) - , Value(value == nullptr ? "" : value) + , Value(value ? value : "") , Type("string") { } |