Skip to content

Commit

Permalink
fix: std::pair<>
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoth committed Dec 19, 2022
1 parent 35341c1 commit 00b78c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/QtNodes/internal/NodeDelegateModelRegistry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class NODE_EDITOR_PUBLIC NodeDelegateModelRegistry
if (!_registeredItemCreators.count(name))
{
_registeredItemCreators[name] = std::move(creator);
_registeredModelsCategory.push_back(std::pair(name, category));
_registeredModelsCategory.push_back(std::pair<name, category>);
}
}

Expand Down

0 comments on commit 00b78c9

Please sign in to comment.