Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Common/Convert.cpp (1 of 2 files). Show all
Unified · Split
| @@ -281,7 +281,7 @@ bool GSF::ParseBoolean(const string& value) · 280 unmodified lines | |||
| 281 | 281 | ||
| 282 | const string result = Trim(value); | 282 | const string result = Trim(value); |
| 283 | 283 | ||
| 284 | if (result.empty()) | 284 | if (!result.empty()) |
| 285 | { | 285 | { |
| 286 | if (IsEqual(result, "true")) | 286 | if (IsEqual(result, "true")) |
| 287 | return true; | 287 | return true; |