Skip to content

Commit fbbe8a1

Browse files
committed
Variable: Remove second constructor
1 parent 56fc4e4 commit fbbe8a1

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

include/scratchcpp/variable.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class LIBSCRATCHCPP_EXPORT Variable : public Entity
1616
{
1717
public:
1818
Variable(const std::string &id, const std::string &name, const Value &value = Value(), bool isCloudVariable = false);
19-
Variable(const std::string &id, const std::string &name, bool isCloudVariable);
2019
Variable(const Variable &) = delete;
2120

2221
const std::string &name() const;

src/scratch/variable.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ Variable::Variable(const std::string &id, const std::string &name, const Value &
1313
{
1414
}
1515

16-
/*! Constructs an empty Variable. */
17-
Variable::Variable(const std::string &id, const std::string &name, bool isCloudVariable) :
18-
Variable(id, name, Value(), isCloudVariable)
19-
{
20-
}
21-
2216
/*! Returns the name of the variable. */
2317
const std::string &Variable::name() const
2418
{

0 commit comments

Comments
 (0)