Follow code style with noexcept, add Const() function to BorrowedPtr to return a const pointer of itself.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-06-20 17:45:41 +02:00
parent 893aa969d5
commit f59ec6c957
8 changed files with 107 additions and 96 deletions

View File

@@ -77,8 +77,8 @@ namespace ArbUt {
class Random : public BaseRandom<pcg32> {
public:
constexpr Random() : BaseRandom() {}
explicit constexpr Random(uint_fast32_t seed) : BaseRandom(seed) {}
constexpr Random() noexcept : BaseRandom() {}
explicit constexpr Random(uint_fast32_t seed) noexcept : BaseRandom(seed) {}
};
}
#endif // ARBUTILS_RANDOM_HPP