diff options
Diffstat (limited to 'tools/split-select/Rule.cpp')
-rw-r--r-- | tools/split-select/Rule.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/split-select/Rule.cpp b/tools/split-select/Rule.cpp index 9559fe2fea1b..48d21ff35c8d 100644 --- a/tools/split-select/Rule.cpp +++ b/tools/split-select/Rule.cpp @@ -29,6 +29,16 @@ inline static void indentStr(String8& str, int indent) { } } +Rule::Rule(const Rule& rhs) + : RefBase() + , op(rhs.op) + , key(rhs.key) + , negate(rhs.negate) + , stringArgs(rhs.stringArgs) + , longArgs(rhs.longArgs) + , subrules(rhs.subrules) { +} + String8 Rule::toJson(int indent) const { String8 str; indentStr(str, indent); |