summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorPatrick Müssig <Tondorian@users.noreply.github.com>2025-02-17 06:17:51 +0100
committerGitHub <noreply@github.com>2025-02-17 06:17:51 +0100
commitf89a8e0b8154013f662d5f745efecef46d3b2619 (patch)
treef6fade92c73f00d96e79f71919bcc6f400ad22e7 /src/common
parente28384b059f8b266ebea1da771df56f5ff36a277 (diff)
fix(UnitTest): fixes unit tests not compiling under windows (#21299)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Utilities/Random.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Utilities/Random.h b/src/common/Utilities/Random.h
index 07bc91d3ae..60d543bc4d 100644
--- a/src/common/Utilities/Random.h
+++ b/src/common/Utilities/Random.h
@@ -17,7 +17,8 @@
#ifndef Random_h__
#define Random_h__
-
+#undef max
+#undef min
#include "Define.h"
#include "Duration.h"
#include <limits>