Skip to content

Commit

Permalink
Remove some other vs2015 workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Sep 2, 2024
1 parent 1e7f86a commit f8660ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gframe/RNG/SplitMix64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SplitMix64
constexpr SplitMix64(StateType initialState) noexcept : s(initialState)
{}

ResultType operator()() noexcept
constexpr ResultType operator()() noexcept
{
uint64_t z = (s += 0x9e3779b97f4a7c15);
z = (z ^ (z >> 30)) * 0xbf58476d1ce4e5b9;
Expand Down
2 changes: 1 addition & 1 deletion gframe/RNG/Xoshiro256.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Xoshiro256StarStar
constexpr Xoshiro256StarStar(const StateType& initialState) noexcept : s(initialState)
{}

ResultType operator()() noexcept
constexpr ResultType operator()() noexcept
{
const uint64_t result = rotl(s[1] * 5, 7) * 9;

Expand Down
3 changes: 1 addition & 2 deletions gframe/edopro_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ auto ParseArguments(int argc, epro::path_char* argv[]) {
i++;
}
}
res[launch_param].enabled = true;
res[launch_param].argument = argument;
res[launch_param] = {true, argument};
continue;
}
}
Expand Down

0 comments on commit f8660ea

Please sign in to comment.