Skip to content

Commit 9abe0da

Browse files
committed
InputValue: Add a warning for unsupported value type
1 parent 91da993 commit 9abe0da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scratch/inputvalue.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ void InputValue::setValuePtr(const std::shared_ptr<Entity> &newValuePtr)
117117
else {
118118
impl->valuePtr = nullptr;
119119
impl->valueId = "";
120+
std::cout << "warning: unsupported input value type (use InputValue::setValueBlock() to set the block)" << std::endl;
120121
return;
121122
}
122123

0 commit comments

Comments
 (0)