mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-03 05:55:28 +00:00
Add return value to non-void function template
This commit is contained in:
@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user