mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclTransmissibility: remove a version check for GCC < 4.8
This is not required anymore because the minimum GCC version which we assume is GCC 4.8. (or, alternatively, any compiler with full C++-2011 support.)
This commit is contained in:
parent
f818c8a2ec
commit
4334c6df58
@ -140,12 +140,8 @@ public:
|
||||
// reserving some space in the hashmap upfront saves quite a bit of time because
|
||||
// resizes are costly for hashmaps and there would be quite a few of them if we
|
||||
// would not have a rough idea of how large the final map will be (the rough idea
|
||||
// is a conforming Cartesian grid). unfortunately, this method is not available
|
||||
// in GCC 4.4. (but I cannot say for sure when it became available so I play safe
|
||||
// and limit it to GCC >= 4.8)
|
||||
#if defined __clang__ || (__GNUC__ > 4 && __GNUC_MINOR__ >= 8)
|
||||
// is a conforming Cartesian grid).
|
||||
trans_.reserve(numElements*3*1.05);
|
||||
#endif
|
||||
|
||||
// compute the transmissibilities for all intersections
|
||||
elemIt = gridView.template begin</*codim=*/ 0>();
|
||||
|
Loading…
Reference in New Issue
Block a user