Skip to content

Commit f352d34

Browse files
committed
parser: Fix MSVC builds not supporting _ as placeholders yet
1 parent 760cbd8 commit f352d34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/include/pl/core/parser_manager.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ namespace pl::core {
3636

3737
void reset() {
3838
this->m_onceIncluded.clear();
39-
for (const auto &[_, types] : this->m_parsedTypes) {
40-
for (const auto &[_, type] : types) {
39+
for (const auto &[onceIncludePair, types] : this->m_parsedTypes) {
40+
for (const auto &[typeName, type] : types) {
4141
if (type != nullptr && type->isValid()) {
4242
if (auto builtinType = dynamic_cast<ast::ASTNodeBuiltinType*>(type->getType().get()); builtinType != nullptr) {
4343
if (builtinType->getType() != Token::ValueType::CustomType) {

0 commit comments

Comments
 (0)