Skip to content

Commit

Permalink
Initialize m_units in AnyMap default constructor
Browse files Browse the repository at this point in the history
Without this initialization, VS2017 (VC 14.1) complains there is a missing default constructor for UnitSystem.
  • Loading branch information
bryanwweber authored and speth committed Jun 27, 2019
1 parent 946ed90 commit 8502d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cantera/base/AnyMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ std::vector<vector_fp>& AnyValue::asVector<vector_fp>(size_t nMin, size_t nMax);
class AnyMap
{
public:
AnyMap() {};
AnyMap(): m_units() {};

//! Create an AnyMap from a YAML file.
/*!
Expand Down

0 comments on commit 8502d18

Please sign in to comment.