tracy/public
Björn Blissing e1b1fd72dc Wrap std::numeric_limits<T>::max() in parenthesis
The windows.h header file defines the macro max. If the max macro is include
it will lead to name collisions with the std::numeric_limits<T>::max() function.

One solution is to define NOMINMAX before the inclusion of windows.h.
However, that might be a demanding task for a large codebase. Defining the
NOMINMAX as global define may also break previous code.

Another to solution to the problem is to wrap the numeric_limits function in
parenthesis to instruct the compiler to treat it as a function and not a macro.

This commit wraps the std::numeric_limits<T>::max() calls in the public
interfacing header files, with parenthesis.
2023-08-17 10:03:52 +02:00
..
client Wrap std::numeric_limits<T>::max() in parenthesis 2023-08-17 10:03:52 +02:00
common Wrap std::numeric_limits<T>::max() in parenthesis 2023-08-17 10:03:52 +02:00
libbacktrace libbacktrace: minor fixes for zstd decompression (cdb64b68) 2023-04-05 17:24:19 +02:00
tracy Wrap std::numeric_limits<T>::max() in parenthesis 2023-08-17 10:03:52 +02:00
TracyClient.cpp Add system power use tracking skeleton. 2023-03-09 22:31:31 +01:00