Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker committed Sep 16, 2024
1 parent 1a05943 commit 209d12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cps/loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ namespace cps::loader {
}

const auto getter =
[&](std::string_view lang) -> tl::expected<std::optional<std::vector<Define>>, std::string> {
[&](const std::string & lang) -> tl::expected<std::optional<std::vector<Define>>, std::string> {
if (!defines.contains(lang)) {
return std::nullopt;
}
Expand Down

0 comments on commit 209d12d

Please sign in to comment.