summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-21 13:17:09 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-21 13:17:09 +0200
commitf75c9d28e2768d6006485dd1d628378816b0a2e1 (patch)
tree2151ac383d753824b5033ff70132055bf1663667 /plugingui
parent3d145c656d0c8dc8892d09d7a090f5d1368f7a17 (diff)
Disable no-invalid-source-encoding warning in debug mode.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/utf8.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugingui/utf8.cc b/plugingui/utf8.cc
index 770d115..a14fd43 100644
--- a/plugingui/utf8.cc
+++ b/plugingui/utf8.cc
@@ -26,9 +26,6 @@
*/
#include "utf8.h"
-// Disable clang encoding warnings for creation of this map.
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Winvalid-source-encoding"
UTF8::UTF8()
{
// Encode Map
@@ -293,7 +290,6 @@ UTF8::UTF8()
// FIXME: This is just a hack to make Goran Mekic's name work.
map_decode["Ä\x87"] = "c";
}
-#pragma clang diagnostic pop
std::string UTF8::fromLatin1(std::string const& s)
{