We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3bd56f commit a6d8d30Copy full SHA for a6d8d30
Source/DFPSR/base/TemporaryCallback.h
@@ -70,6 +70,9 @@ class TemporaryCallback<RESULT(ARGS...)> {
70
return (*(F*)closure)(std::forward<ARGS>(args)...);
71
};
72
}
73
+
74
+ // No default constructor.
75
+ TemporaryCallback() = delete;
76
// No copy construction, only pass it by reference from input arguments.
77
TemporaryCallback(const TemporaryCallback &other) = delete;
78
// No move construction, only pass it by reference from input arguments.
0 commit comments