mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Small perfomance optimization in Directives and Tag methods (#1112)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace YAML {
|
||||
Directives::Directives() : version{true, 1, 2}, tags{} {}
|
||||
|
||||
const std::string Directives::TranslateTagHandle(
|
||||
std::string Directives::TranslateTagHandle(
|
||||
const std::string& handle) const {
|
||||
auto it = tags.find(handle);
|
||||
if (it == tags.end()) {
|
||||
|
Reference in New Issue
Block a user