Style fixes.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-06-26 17:18:50 +02:00
parent 7fe8c80141
commit c08224ed26
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 3 deletions

View File

@ -32,8 +32,7 @@ namespace ArbUt {
inline T operator*() const { inline T operator*() const {
if constexpr (std::is_abstract<T>()) { if constexpr (std::is_abstract<T>()) {
static_assert(!std::is_abstract<T>(), "You're not allowed to dereference an abstract class."); static_assert(!std::is_abstract<T>(), "You're not allowed to dereference an abstract class.");
} } else {
else{
AssertNotNull(_raw); AssertNotNull(_raw);
return *_raw; return *_raw;
} }