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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user