summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-23 10:30:23 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-27 16:21:01 +0200
commit3656023785d17d513b67f4cbe8686a40141e06d8 (patch)
treed3e26110f82326573c0378d74f8d1dc189b32973 /staging_vespalib
parent0cd6a2c04f90ffbdba4d585f1d71a5dd2b4e8311 (diff)
Remove ExpressionNode::CP from interfaces.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/objects/identifiable.h3
-rw-r--r--staging_vespalib/src/vespa/vespalib/objects/identifiable.hpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/objects/identifiable.h b/staging_vespalib/src/vespa/vespalib/objects/identifiable.h
index 33c936afbd4..d5a51845c57 100644
--- a/staging_vespalib/src/vespa/vespalib/objects/identifiable.h
+++ b/staging_vespalib/src/vespa/vespalib/objects/identifiable.h
@@ -293,8 +293,7 @@ public:
* @param operation component performing some operation
* on the selected (sub-)objects
**/
- void select(const ObjectPredicate &predicate,
- ObjectOperation &operation);
+ void select(const ObjectPredicate &predicate, ObjectOperation &operation);
/**
* Invoke @ref select on any member objects this object wants to
diff --git a/staging_vespalib/src/vespa/vespalib/objects/identifiable.hpp b/staging_vespalib/src/vespa/vespalib/objects/identifiable.hpp
index 617d631328b..557472b09ca 100644
--- a/staging_vespalib/src/vespa/vespalib/objects/identifiable.hpp
+++ b/staging_vespalib/src/vespa/vespalib/objects/identifiable.hpp
@@ -47,6 +47,10 @@ class IdentifiablePtr : public CloneablePtr<T>
{
public:
IdentifiablePtr(const T &t) : CloneablePtr<T>(t.clone()) {}
+ IdentifiablePtr(IdentifiablePtr &&) = default;
+ IdentifiablePtr & operator = (IdentifiablePtr &&) = default;
+ IdentifiablePtr(const IdentifiablePtr &) = default;
+ IdentifiablePtr & operator = (const IdentifiablePtr &) = default;
IdentifiablePtr(T * p=NULL) : CloneablePtr<T>(p) { }
int cmp(const IdentifiablePtr<T> &rhs) const {
const T *a = this->get();