Skip to content

Commit

Permalink
update constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
tyanmahou committed Jan 4, 2024
1 parent e24d286 commit 00bf83a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions Re-Abyss/Re-Abyss.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,6 @@
<ClCompile Include="app\utils\Env\Env.cpp" />
<ClCompile Include="app\utils\FileUtil\FileUtil.cpp" />
<ClCompile Include="app\utils\FPS\FrameRateController.cpp" />
<ClCompile Include="app\utils\FPS\FrameRateHz.cpp" />
<ClCompile Include="app\utils\Layout\Window\detail\Component.cpp" />
<ClCompile Include="app\utils\Layout\Window\detail\GrabCtrl.cpp" />
<ClCompile Include="app\utils\Layout\Window\detail\ScrollCtrl.cpp" />
Expand Down Expand Up @@ -2051,7 +2050,6 @@
<ClInclude Include="app\utils\Env\Env.hpp" />
<ClInclude Include="app\utils\FileUtil\FileUtil.hpp" />
<ClInclude Include="app\utils\FPS\FrameRateController.hpp" />
<ClInclude Include="app\utils\FPS\FrameRateHz.hpp" />
<ClInclude Include="app\utils\Hierarchy\Hierarchy.hpp" />
<ClInclude Include="app\utils\IdGenerator\FreeableIdGen.hpp" />
<ClInclude Include="app\utils\IdGenerator\IdGen.hpp" />
Expand Down
6 changes: 0 additions & 6 deletions Re-Abyss/Re-Abyss.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -2013,9 +2013,6 @@
<ClCompile Include="app\utils\FileUtil\FileUtil.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="app\utils\FPS\FrameRateHz.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="app\utils\Layout\Window\detail\Component.cpp">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -5429,9 +5426,6 @@
<ClInclude Include="app\utils\FileUtil\FileUtil.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="app\utils\FPS\FrameRateHz.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="app\utils\Hierarchy\Hierarchy.hpp">
<Filter>Header Files</Filter>
</ClInclude>
Expand Down
4 changes: 2 additions & 2 deletions Re-Abyss/app/utils/FPS/FrameRateController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace abyss
Instance()->set(value);
}
private:
static s3d::StringView UniqueName()
constexpr static s3d::StringView UniqueName()
{
return U"FrameRateController";
}
Expand All @@ -30,7 +30,7 @@ namespace abyss
private:
s3d::Optional<Fps> m_value;

Clock::duration m_sleepTime;
Clock::duration m_sleepTime{};
TimePoint m_sleepUntil;
};
}

0 comments on commit 00bf83a

Please sign in to comment.