Skip to content

Commit 3ce9f1c

Browse files
committed
cool msvc issue
1 parent be6bd3a commit 3ce9f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scene/EditorScene.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ void LEditorScene::SetRoom(std::shared_ptr<LRoomDOMNode> room)
547547
bStream::CFileStream bin(resPath.string(), bStream::Endianess::Big, bStream::OpenMode::In);
548548
#ifdef _WIN32
549549
std::string resPath = curRoomData->GetResourcePath();
550-
std::replace(resPath.begin(), resPath.end(), "/", "\\");
550+
std::replace(resPath.begin(), resPath.end(), '/', '\\');
551551
mRoomModels.insert({ resPath, std::make_shared<BinModel>(&bin)});
552552
#else
553553
mRoomModels.insert({ curRoomData->GetResourcePath(), std::make_shared<BinModel>(&bin)});

0 commit comments

Comments
 (0)