Index: src/FilterEngine.cpp |
diff --git a/src/FilterEngine.cpp b/src/FilterEngine.cpp |
index 85553f34d00bd9346642d96c547fc5e3f6967869..3284a008a25ca66077f2f2a3efe5ba25462d25b8 100644 |
--- a/src/FilterEngine.cpp |
+++ b/src/FilterEngine.cpp |
@@ -37,6 +37,28 @@ Filter::Filter(JsValue&& value) |
throw std::runtime_error("JavaScript value is not an object"); |
} |
+Filter::Filter(const Filter& src) |
+ : JsValue(src) |
+{ |
+} |
+ |
+Filter::Filter(Filter&& src) |
+ : JsValue(std::move(src)) |
+{ |
+} |
+ |
+Filter& Filter::operator=(const Filter& src) |
+{ |
+ static_cast<JsValue&>(*this) = src; |
+ return *this; |
+} |
+ |
+Filter& Filter::operator=(Filter&& src) |
+{ |
+ static_cast<JsValue&>(*this) = std::move(src); |
+ return *this; |
+} |
+ |
Filter::Type Filter::GetType() const |
{ |
std::string className = GetClass(); |