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

Private: Q&ACategory: BugQuasar C++ API: bug in QValue(int) constructor
Frank Vernaillen asked 7 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 7 years ago

Thanks for the correction! This has been fixed!