Skip to content

Commit

Permalink
Add limits header to ensure gcc11 compatibility
Browse files Browse the repository at this point in the history
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
  • Loading branch information
TobiKattmann committed Jan 7, 2022
1 parent 14dabda commit 130e2dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions SU2_CFD/include/variables/CEulerVariable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#pragma once

#include <limits>
#include "CFlowVariable.hpp"

/*!
Expand Down
1 change: 1 addition & 0 deletions SU2_CFD/include/variables/CIncEulerVariable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#pragma once

#include <limits>
#include "CFlowVariable.hpp"

/*!
Expand Down

0 comments on commit 130e2dd

Please sign in to comment.