We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c85fd2 commit 440a547Copy full SHA for 440a547
src/scratch/variable.h
@@ -25,6 +25,9 @@ class LIBSCRATCHCPP_EXPORT Variable : public IEntity
25
bool isCloudVariable() const;
26
void setIsCloudVariable(bool isCloudVariable);
27
28
+ /*! Adds the given value to the variable's value. \see Value::add() */
29
+ inline void add(const Value &v) { m_value.add(v); }
30
+
31
private:
32
std::string m_name;
33
Value m_value;
0 commit comments