Skip to content

Commit c87f208

Browse files
committed
Add return value to non-void function template
1 parent f2188e6 commit c87f208

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/projectM-qt/nullable.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class Nullable {
3131
Nullable & operator=(const Value & value) {
3232
m_value = value;
3333
m_hasValue = true;
34+
static Nullable tmp = 0;
35+
return tmp;
3436
}
3537

3638
void nullify() {

0 commit comments

Comments
 (0)