diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2019-08-24 15:08:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-24 15:08:16 -0400 |
commit | b3a1592ba803bb0fa6e46c4a3f5b049c291b4435 (patch) | |
tree | d3d6e2fa8d6e4991b93bbc9567dcd79a89950804 | |
parent | cea529a8b563dfaebf32058c6be93422c4cb69c8 (diff) | |
parent | 66ba636f1fa453335539e27dccd1def8aa7208ef (diff) |
Merge pull request #5529 from BillyONeal/master
Resolve [[nodiscard]] warning from c_str() call.
-rw-r--r-- | src/emu/rendfont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/rendfont.cpp b/src/emu/rendfont.cpp index a71a119f75f..c5debb5f055 100644 --- a/src/emu/rendfont.cpp +++ b/src/emu/rendfont.cpp @@ -374,7 +374,7 @@ private: void convert_command_glyph(std::string &str) { - str.c_str(); // force NUL-termination - we depend on it later + (void)str.c_str(); // force NUL-termination - we depend on it later std::size_t const len(str.length()); std::vector<char> buf(2 * (len + 1)); std::size_t j(0); |