Add return value to non-void function template

This commit is contained in:
luigino
2018-06-21 17:55:21 +02:00
parent f2188e6ec2
commit c87f208c47

View File

@ -31,6 +31,8 @@ class Nullable {
Nullable & operator=(const Value & value) {
m_value = value;
m_hasValue = true;
static Nullable tmp = 0;
return tmp;
}
void nullify() {