Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-05-05 15:20:47 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-05-05 15:20:47 +0300
commit7644946ad0bcf42f016fc7a53da13e71339d8282 (patch)
tree1b9df7e577bf54a4862b91eb680a31a4f30442c5 /src/ObjectModel
parent0a0296418a943cb5e1a9ce58176dd267db52b0bc (diff)
Fix bug with parameters/local vars in macro parameter expressions
Diffstat (limited to 'src/ObjectModel')
-rw-r--r--src/ObjectModel/Variable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ObjectModel/Variable.h b/src/ObjectModel/Variable.h
index c40cff59..4e8622f9 100644
--- a/src/ObjectModel/Variable.h
+++ b/src/ObjectModel/Variable.h
@@ -45,6 +45,8 @@ class VariableSet
public:
VariableSet() noexcept : root(nullptr) { }
~VariableSet();
+ VariableSet(const VariableSet&) = delete;
+ VariableSet& operator=(const VariableSet& other) = delete;
Variable *Lookup(const char *str) noexcept;
const Variable *Lookup(const char *str) const noexcept;