Skip to content

Commit d52f364

Browse files
committed
[BugFix][v3] Fix unsafe initialization
Signed-off-by: Arkueid <thetardis@qq.com>
1 parent 6279b11 commit d52f364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Live2D/Main/src/LAppPal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ double LAppPal::GetCurrentTimePoint()
7979

8080
void LAppPal::InitShaderDir(const std::string& path)
8181
{
82-
SHADER_DIR = std::move(path);
82+
SHADER_DIR = path;
8383
SHADER_DIR += std::filesystem::path::preferred_separator;
8484
Info("[Pal] Init Shader Dir: %s", SHADER_DIR.c_str());
8585
}

0 commit comments

Comments
 (0)