Skip to content

Commit d121587

Browse files
committed
Fixed template arguments in function.
1 parent 66b33e3 commit d121587

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parse/jsd_map.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace JSON
1212
{
1313
try
1414
{
15-
GET_CHILD(name, pt, (std::map<std::string, ValueT>()));
15+
GET_CHILD(name, pt, (std::map<std::string, ValueT, CompareT, AllocT>()));
1616
for (auto const& i : pt)
1717
{
1818
ValueT temp;
@@ -22,11 +22,11 @@ namespace JSON
2222
}
2323
catch (boost::property_tree::ptree_bad_data& exc)
2424
{
25-
DEFAULT_PROPERTY_ERROR_HANDLER((std::map<std::string, ValueT>()), (std::map<std::string, ValueT>()));
25+
DEFAULT_PROPERTY_ERROR_HANDLER((std::map<std::string, ValueT, CompareT, AllocT>()), (std::map<std::string, ValueT, CompareT, AllocT>()));
2626
}
2727
catch (boost::property_tree::ptree_bad_path& exc)
2828
{
29-
DEFAULT_PATH_ERROR_HANDLER((std::map<std::string, ValueT>()), (std::map<std::string, ValueT>()));
29+
DEFAULT_PATH_ERROR_HANDLER((std::map<std::string, ValueT, CompareT, AllocT>()), (std::map<std::string, ValueT, CompareT, AllocT>()));
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)