Remove multi-line comment from macros.h

GCC will not compile with multi-line comments and `-Wall`.
This commit is contained in:
Shehzan Mohammed 2018-04-23 11:09:47 -04:00 committed by GitHub
parent c5beef82a0
commit 681de5e51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,8 +81,7 @@ namespace draco {
// #define FUNC_2(x, y) x + y
// #define FUNC_3(x, y, z) x + y + z
//
// #define VARIADIC_MACRO(...) \
// DRACO_SELECT_NTH_FROM_3(__VA_ARGS__, FUNC_3, FUNC_2, FUNC_1) __VA_ARGS__
// #define VARIADIC_MACRO(...) DRACO_SELECT_NTH_FROM_3(__VA_ARGS__, FUNC_3, FUNC_2, FUNC_1) __VA_ARGS__
//
#define DRACO_SELECT_NTH_FROM_2(_1, _2, NAME) NAME
#define DRACO_SELECT_NTH_FROM_3(_1, _2, _3, NAME) NAME