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

@ -30,10 +30,9 @@ namespace ArbUt {
return _raw;
}
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.");
}
else{
} else {
AssertNotNull(_raw);
return *_raw;
}