Skip to content

Commit 130e2dd

Browse files
author
TobiKattmann
committed
Add limits header to ensure gcc11 compatibility
Since gcc11 some headers (including limts) are used much less in the standard library headers. See https://stackoverflow.com/questions/4798936/numeric-limits-was-not-declared-in-this-scope-no-matching-function-for-call-t
1 parent 14dabda commit 130e2dd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

SU2_CFD/include/variables/CEulerVariable.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#pragma once
2929

30+
#include <limits>
3031
#include "CFlowVariable.hpp"
3132

3233
/*!

SU2_CFD/include/variables/CIncEulerVariable.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#pragma once
2929

30+
#include <limits>
3031
#include "CFlowVariable.hpp"
3132

3233
/*!

0 commit comments

Comments
 (0)