Add double conversion for PropertyStream map items

This commit is contained in:
Vinnie Falco
2013-11-30 17:23:43 -08:00
parent f7aa4f9593
commit 61cfa6e37e
2 changed files with 6 additions and 0 deletions

View File

@@ -390,6 +390,11 @@ void PropertyStream::add (std::string const& key, int64 value)
}
}
void PropertyStream::add (std::string const& key, double value)
{
lexical_add (key, value);
}
void PropertyStream::add (std::string const& key, uint64 value)
{
if (value <= std::numeric_limits <uint32>::max() &&