summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-03-06 23:17:48 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-03-06 23:17:48 +0000
commit7489a256cdad97cff15644f55e89023d103c2c05 (patch)
tree9542bfb4770df0669a24f820dc3105ec05ed54f7 /staging_vespalib
parent2769da15f61ef429713a05f18dd2971369e799af (diff)
Update copyright and comment.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/objects/object2slime.cpp3
-rw-r--r--staging_vespalib/src/vespa/vespalib/objects/object2slime.h10
2 files changed, 3 insertions, 10 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/objects/object2slime.cpp b/staging_vespalib/src/vespa/vespalib/objects/object2slime.cpp
index f06060529c3..7bfacc778bd 100644
--- a/staging_vespalib/src/vespa/vespalib/objects/object2slime.cpp
+++ b/staging_vespalib/src/vespa/vespalib/objects/object2slime.cpp
@@ -1,9 +1,8 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+// Copyright 2019 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "object2slime.h"
#include <vespa/vespalib/util/stringfmt.h>
#include <vespa/vespalib/data/slime/cursor.h>
-
namespace vespalib {
Object2Slime::Object2Slime(slime::Cursor & cursor)
diff --git a/staging_vespalib/src/vespa/vespalib/objects/object2slime.h b/staging_vespalib/src/vespa/vespalib/objects/object2slime.h
index 9c147047a74..f4bd66275ed 100644
--- a/staging_vespalib/src/vespa/vespalib/objects/object2slime.h
+++ b/staging_vespalib/src/vespa/vespalib/objects/object2slime.h
@@ -1,4 +1,4 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+// Copyright 2019 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "objectvisitor.h"
@@ -10,7 +10,7 @@ namespace slime { class Cursor; }
/**
* This is a concrete object visitor that will build up a structured
- * human-readable string representation of an object.
+ * slime representation of an object.
**/
class Object2Slime : public ObjectVisitor
{
@@ -19,12 +19,6 @@ private:
std::vector<slime::Cursor *> _stack;
public:
- /**
- * Create an object dumper with the given indent size; default is
- * 4 spaces per indent level.
- *
- * @param indent indent size in number of spaces
- **/
Object2Slime(slime::Cursor & cursor);
~Object2Slime();