fix msvc warning which also indicated a bug

This commit is contained in:
Thomas Fussell 2016-12-03 12:07:05 +01:00
parent eff00f9540
commit 2fe649146b

View File

@ -299,7 +299,7 @@ void number_format::format_string(const std::string &format_string, std::size_t
bool number_format::has_id() const
{
return id_;
return id_set_;
}
void number_format::id(std::size_t id)