Skip to content

Commit c9841a3

Browse files
committed
Variable: Remove add() method
1 parent fbbe8a1 commit c9841a3

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

include/scratchcpp/variable.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class LIBSCRATCHCPP_EXPORT Variable : public Entity
2929
bool isCloudVariable() const;
3030
void setIsCloudVariable(bool isCloudVariable);
3131

32-
void add(const Value &v);
33-
3432
private:
3533
spimpl::unique_impl_ptr<VariablePrivate> impl;
3634
};

src/scratch/variable.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,3 @@ void Variable::setIsCloudVariable(bool isCloudVariable)
4848
{
4949
impl->isCloudVariable = isCloudVariable;
5050
}
51-
52-
/*! Adds the given value to the variable's value. \see Value::add() */
53-
void Variable::add(const Value &v)
54-
{
55-
impl->value.add(v);
56-
}

0 commit comments

Comments
 (0)