From a82bd12383c2479cebcb34e971461ee3bfa3ffb8 Mon Sep 17 00:00:00 2001 From: Konstantinos Chatzilygeroudis Date: Thu, 25 Jan 2018 19:00:09 +0100 Subject: [PATCH] Fix for compilation issues --- src/configuration.h | 2 +- src/engine/Profiler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configuration.h b/src/configuration.h index 96391e76..f0a2fd14 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -152,7 +152,7 @@ constexpr int NB_MAX_CONTACT_MANIFOLDS_CONCAVE_SHAPE = 3; constexpr decimal COS_ANGLE_SIMILAR_CONTACT_MANIFOLD = decimal(0.95); /// Size (in bytes) of the single frame allocator -constexpr size_t INIT_SINGLE_FRAME_ALLOCATOR_BYTES = 1048576; // 1Mb +constexpr std::size_t INIT_SINGLE_FRAME_ALLOCATOR_BYTES = 1048576; // 1Mb } diff --git a/src/engine/Profiler.h b/src/engine/Profiler.h index 45b9b2e9..84b7ed59 100644 --- a/src/engine/Profiler.h +++ b/src/engine/Profiler.h @@ -415,7 +415,7 @@ inline void Profiler::destroy() { #else // In profile is not active // Empty macro in case profiling is not active -#define PROFILE(name) +#define PROFILE(name, profiler) #endif