Commit e9e4dabe authored by Stefan Schweter's avatar Stefan Schweter

Disable misleading-indentation warning in unicode.h (pragma for GCC >= 6)

parent b19e139d
......@@ -289,7 +289,10 @@ namespace dlib
}
// ----------------------------------------------------------------------------------------
#if defined(__GNUC__) && __GNUC__ >= 6
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#endif
template <typename T>
bool is_combining_char(
const T ch_
......@@ -478,6 +481,9 @@ namespace dlib
if ( ch < 0xE0100 )return false;if ( ch < 0xE01F0 )return true;
return false;
}
#if defined(__GNUC__) && __GNUC__ >= 6
#pragma GCC diagnostic pop
#endif
// ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment