mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
COMP: scalarRanges construct null for gcc-48
This commit is contained in:
@ -61,6 +61,9 @@ public:
|
||||
//- Inherit constructors from List of scalarRange
|
||||
using List<scalarRange>::List;
|
||||
|
||||
//- Construct null
|
||||
inline scalarRanges();
|
||||
|
||||
//- Construct by parsing string for scalar ranges
|
||||
// The individual items are space, comma or semicolon delimited.
|
||||
// Optionally report when any range failed to parse
|
||||
|
||||
@ -25,6 +25,12 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
inline Foam::scalarRanges::scalarRanges()
|
||||
:
|
||||
List<scalarRange>()
|
||||
{}
|
||||
|
||||
|
||||
inline Foam::scalarRanges::scalarRanges(const std::string& str, bool verbose)
|
||||
:
|
||||
List<scalarRange>(scalarRanges::parse(str, verbose))
|
||||
|
||||
Reference in New Issue
Block a user