Skip to content

Commit

Permalink
Fix copy/paste error in get_qualified_array_of<array>.
Browse files Browse the repository at this point in the history
Fixes issue skystrife#58.
  • Loading branch information
nomadfighter authored and Chase Geigle committed Sep 13, 2017
1 parent c38d7ba commit 2051836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpptoml.h
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ template <>
inline typename array_of_trait<array>::return_type
table::get_qualified_array_of<array>(const std::string& key) const
{
if (auto v = get_array(key))
if (auto v = get_array_qualified(key))
{
std::vector<std::shared_ptr<array>> result;
result.reserve(v->get().size());
Expand Down

0 comments on commit 2051836

Please sign in to comment.