Quasar C++ API: bug in QValue(int) constructor

Q&ACategory: BugQuasar C++ API: bug in QValue(int) constructor
Frank Vernaillen asked 3 years ago

To construct a QValue object that wraps an integer, the current release of Quasar (build date 28-Oct-16) in quasar_dsl.h has
QValue(int intVal) { value = qvalue_t::fromScalar(intVal); }
This is wrong, it should be:
QValue(int intVal) { value = qvalue_t::fromInt(intVal); }

1 Answers
bgoossen Staff answered 2 years ago

Thanks for the correction! This has been fixed!