Skip to content

Commit

Permalink
fix undefined behavior sanitizer alert (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
drdzyk committed Sep 1, 2022
1 parent 250e063 commit f85374e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/composer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class PsrLoader {

virtual void load_entry(std::string &&namespace_str, std::string &&path) = 0;

const YAML::Node &psr_section_;
const YAML::Node psr_section_;
Map &map_;
std::string_view pkg_root_;
};
Expand Down

0 comments on commit f85374e

Please sign in to comment.