The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

u/json: Update macro signatures to fix MSVC builds

authored by

Mateo de Mayo and committed by
Jakob Bornecrantz
b29c4ee7 6070da19

+2 -2
+2 -2
src/xrt/auxiliary/util/u_json.hpp
··· 42 42 } while (false); 43 43 44 44 // Fatal assertion 45 - #define JSON_ASSERTF(...) JSON_ASSERT(true, __VA_ARGS__) 45 + #define JSON_ASSERTF(predicate, ...) JSON_ASSERT(true, predicate, __VA_ARGS__) 46 46 #define JSON_ASSERTF_(predicate) JSON_ASSERT(true, predicate, "Assertion failed " #predicate) 47 47 48 48 // Warn-only assertion 49 - #define JSON_ASSERTW(...) JSON_ASSERT(false, __VA_ARGS__) 49 + #define JSON_ASSERTW(predicate, ...) JSON_ASSERT(false, predicate, __VA_ARGS__) 50 50 51 51 namespace xrt::auxiliary::util::json { 52 52