rocr:Fix compile warnings

This commit is contained in:
David Yat Sin
2025-05-26 20:23:36 +00:00
committed by Yat Sin, David
parent 0d70045817
commit 11da1293de
5 changed files with 9 additions and 5 deletions
+2
View File
@@ -151,6 +151,8 @@ static __forceinline unsigned long long int strtoull(const char* str,
rocr::log_printf(__FILENAME__, __LINE__, format, ##__VA_ARGS__); \
} while (false);
// A macro to remove unused variable warnings
#define UNUSED(x) (void)(x)
// A macro to disallow the copy and move constructor and operator= functions
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \