forked from OSchip/llvm-project
Work around MSVC compiler intricacies.
This commit is contained in:
parent
80ea006ef9
commit
073e7a08e8
|
@ -47,7 +47,11 @@ public:
|
||||||
|
|
||||||
/// Default constructor.
|
/// Default constructor.
|
||||||
Timer(Category &category, const char *format, ...)
|
Timer(Category &category, const char *format, ...)
|
||||||
__attribute__((format(printf, 3, 4)));
|
#if !defined(_MSC_VER)
|
||||||
|
// MSVC appears to have trouble recognizing the this argument in the constructor.
|
||||||
|
__attribute__((format(printf, 3, 4)))
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
/// Destructor
|
/// Destructor
|
||||||
~Timer();
|
~Timer();
|
||||||
|
|
Loading…
Reference in New Issue