- Added constructors to match the overloaded ::attribute methods.
This commit is contained in:
Paul Beckingham
2014-10-20 00:22:47 -04:00
parent c8f49bcafb
commit 97f302f276
2 changed files with 16 additions and 0 deletions

View File

@@ -56,6 +56,20 @@ A::A (const std::string& name, const std::string& raw)
attribute ("raw", raw);
}
////////////////////////////////////////////////////////////////////////////////
A::A (const std::string& name, const int raw)
{
_name = name;
attribute ("raw", raw);
}
////////////////////////////////////////////////////////////////////////////////
A::A (const std::string& name, const double raw)
{
_name = name;
attribute ("raw", raw);
}
////////////////////////////////////////////////////////////////////////////////
A::~A ()
{