Skip to content

Commit

Permalink
Update FieldRegistry.h (#1229)
Browse files Browse the repository at this point in the history
missing std::.
  • Loading branch information
saitoasukakawaii authored Nov 8, 2023
1 parent b49a65a commit 532e64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/FieldRegistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class FieldRegistry
if (fieldDefIter == db->end()) {
std::string message = "Attempting to access an undefined field: '" +
name + "' with spatial dimension " +
to_string(numDim) + " and number of states " +
to_string(numStates);
std::to_string(numDim) + " and number of states " +
std::to_string(numStates);
throw std::runtime_error(message);
}
return fieldDefIter->second;
Expand Down

0 comments on commit 532e64c

Please sign in to comment.