summaryrefslogtreecommitdiffstats
path: root/vsm
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-03-17 20:26:58 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-03-17 20:26:58 +0000
commit2974fb58ddc245e94f325eb6b1407c16bd6887bc (patch)
tree6c80d1d1e35151c7b460d0ecd157c91b9af09836 /vsm
parentf5d308f5cb8bd1f5a4d7daaac18ed1aaa8e8778e (diff)
Implement className on document::FieldValue
Diffstat (limited to 'vsm')
-rw-r--r--vsm/src/vespa/vsm/vsm/slimefieldwriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/vsm/src/vespa/vsm/vsm/slimefieldwriter.cpp b/vsm/src/vespa/vsm/vsm/slimefieldwriter.cpp
index 7c7d0cffbcc..5bc5798fb9d 100644
--- a/vsm/src/vespa/vsm/vsm/slimefieldwriter.cpp
+++ b/vsm/src/vespa/vsm/vsm/slimefieldwriter.cpp
@@ -4,7 +4,6 @@
#include <vespa/searchlib/util/slime_output_raw_buf_adapter.h>
#include <vespa/vespalib/stllike/asciistream.h>
#include <vespa/vespalib/util/size_literals.h>
-#include <vespa/vespalib/util/classname.h>
#include <vespa/searchsummary/docsummary/resultconfig.h>
#include <vespa/document/datatype/positiondatatype.h>
@@ -50,7 +49,7 @@ void
SlimeFieldWriter::traverseRecursive(const document::FieldValue & fv, Inserter &inserter)
{
LOG(debug, "traverseRecursive: class(%s), fieldValue(%s), currentPath(%s)",
- vespalib::getClassName(fv).c_str(), fv.toString().c_str(), toString(_currPath).c_str());
+ fv.className(), fv.toString().c_str(), toString(_currPath).c_str());
if (fv.isCollection()) {
const document::CollectionFieldValue & cfv = static_cast<const document::CollectionFieldValue &>(fv);