2020-10-13 23:03:42 +00:00
|
|
|
diff --git a/lib/programmemory.cpp b/lib/programmemory.cpp
|
2020-12-05 20:10:41 +00:00
|
|
|
index 753a5c846..bb9569624 100644
|
2020-10-13 23:03:42 +00:00
|
|
|
--- a/lib/programmemory.cpp
|
|
|
|
+++ b/lib/programmemory.cpp
|
2020-12-05 20:10:41 +00:00
|
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#include "symboldatabase.h"
|
2020-10-13 23:03:42 +00:00
|
|
|
#include <algorithm>
|
|
|
|
#include <cassert>
|
|
|
|
+#include <limits>
|
2020-12-05 20:10:41 +00:00
|
|
|
#include <memory>
|
2020-10-13 23:03:42 +00:00
|
|
|
|
|
|
|
void ProgramMemory::setValue(nonneg int varid, const ValueFlow::Value &value)
|
|
|
|
diff --git a/test/testsymboldatabase.cpp b/test/testsymboldatabase.cpp
|
2020-12-05 20:10:41 +00:00
|
|
|
index 1d2bc8d54..399ea7593 100644
|
2020-10-13 23:03:42 +00:00
|
|
|
--- a/test/testsymboldatabase.cpp
|
|
|
|
+++ b/test/testsymboldatabase.cpp
|
2020-12-05 20:10:41 +00:00
|
|
|
@@ -31,6 +31,7 @@
|
|
|
|
#include <cstddef>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <cstring>
|
2020-10-13 23:03:42 +00:00
|
|
|
+#include <limits>
|
2020-12-05 20:10:41 +00:00
|
|
|
#include <list>
|
|
|
|
#include <map>
|
|
|
|
#include <set>
|