diff --git a/src/graph/node.h b/src/graph/node.h index 5b1808224..1e8aa41bf 100644 --- a/src/graph/node.h +++ b/src/graph/node.h @@ -105,7 +105,7 @@ struct Node { /* Implicitly cast enums and enum classes to integer, which matches an internal way of how * enumerator values are stored and accessed in a generic API. */ - template> * = nullptr> + template, bool> = true> void set(const SocketType &input, const ValueType &value) { static_assert(sizeof(ValueType) <= sizeof(int), "Enumerator type should fit int");