mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2026-04-28 04:51:43 +00:00
Fix compilation error on some compilers
This commit is contained in:
parent
a384076f20
commit
d30d85bdfb
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ std::vector<std::filesystem::path> get_data_syms_paths(const toml::array* data_s
|
||||||
ret.reserve(data_syms_paths_array->size());
|
ret.reserve(data_syms_paths_array->size());
|
||||||
data_syms_paths_array->for_each([&ret, &basedir](auto&& el) {
|
data_syms_paths_array->for_each([&ret, &basedir](auto&& el) {
|
||||||
if constexpr (toml::is_string<decltype(el)>) {
|
if constexpr (toml::is_string<decltype(el)>) {
|
||||||
ret.emplace_back(concat_if_not_empty(basedir, el.value_exact<std::string>().value()));
|
ret.emplace_back(concat_if_not_empty(basedir, el.template value_exact<std::string>().value()));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw toml::parse_error("Invalid type for data reference symbol file entry", el.source());
|
throw toml::parse_error("Invalid type for data reference symbol file entry", el.source());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue