Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

9 lines
213 B
C++

#ifdef USE_PRAGMA
#pragma clang diagnostic push
#pragma clang diagnostic warning "-Wshorten-64-to-32"
#endif
template <class T> int convert(T V) { return V; }
#ifdef USE_PRAGMA
#pragma clang diagnostic pop
#endif