]> granicus.if.org Git - icinga2/commitdiff
Windows build fix 5887/head
authorGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 19 Dec 2017 14:00:09 +0000 (15:00 +0100)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Wed, 20 Dec 2017 07:01:04 +0000 (08:01 +0100)
lib/config/expression.hpp

index bd6639ba8ca9e32dee9a2061b75b6423edd23909..46a373556fdab8ade4858f98e38e275668cf3fc0 100644 (file)
@@ -198,8 +198,12 @@ private:
 class I2_CONFIG_API Expression
 {
 public:
+       Expression(void) = default;
+       Expression(const Expression&) = delete;
        virtual ~Expression(void);
 
+       Expression& operator=(const Expression&) = delete;
+
        ExpressionResult Evaluate(ScriptFrame& frame, DebugHint *dhint = nullptr) const;
        virtual bool GetReference(ScriptFrame& frame, bool init_dict, Value *parent, String *index, DebugHint **dhint = nullptr) const;
        virtual const DebugInfo& GetDebugInfo(void) const;