Suppress bogus coverity warnings

This commit is contained in:
vitaut
2015-10-28 07:01:28 -07:00
parent 522e0e8371
commit 2d727e7d0e
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -921,7 +921,8 @@ struct Conditional<false, T, F> { typedef F type; };
// A helper function to suppress bogus "conditional expression is constant"
// warnings.
inline bool check(bool value) { return value; }
template <typename T>
inline T check(T value) { return value; }
// Makes an Arg object from any type.
template <typename Char>