diff options
| author | Martin Ridgers <[email protected]> | 2021-11-16 13:48:28 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-16 14:32:21 +0100 |
| commit | 9fa60bafe314a74488b7d3bad9c61fff810c612d (patch) | |
| tree | 5ca73b78384bbbc0bb7fca99f30c6a17da7a7706 /zencore/filesystem.cpp | |
| parent | libcrypto links again libdl so the latter also needs careful handling in xmake (diff) | |
| download | zen-9fa60bafe314a74488b7d3bad9c61fff810c612d.tar.xz zen-9fa60bafe314a74488b7d3bad9c61fff810c612d.zip | |
Renamed operator<<(bool) to AppendBool() to avoid subtle errors
Pointers will get implicitly cast to a boolean type which is unlikely to
be the intention when building strings. In particular, left-shifting in
a wchar_t* into a char-bacled string builder will end up writing 'true'
into the string instead of the intended wchar_t string's value.
Diffstat (limited to 'zencore/filesystem.cpp')
0 files changed, 0 insertions, 0 deletions