Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
nschimme committed Mar 10, 2024
1 parent b1b92bf commit 603b13f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/expandoracommon/parseevent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ SharedParseEvent ParseEvent::createEvent(const CommandEnum c,

// the moved strings are used by const ref here before they're moved.
event->setProperty(moved_roomName);
event->setProperty(RoomDesc{std::regex_replace(moved_roomDesc.getStdString(), normalizeWhitespacePattern, " ")});
event->setProperty(RoomDesc{
std::regex_replace(moved_roomDesc.getStdString(), normalizeWhitespacePattern, " ")});
event->setProperty(terrain);

// After this block, the moved values are gone.
Expand Down

0 comments on commit 603b13f

Please sign in to comment.