summaryrefslogtreecommitdiffstats
path: root/vsm
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-03 19:09:25 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-12 02:55:45 +0100
commit13956aed7c7a3413407a5910e447609e286a245e (patch)
treec76e46b2222b28933ce0e753de0d63eeb1085773 /vsm
parent86b600a7e6d0153f8e22a1ea468a72215d0c36a1 (diff)
Do not bring in nbostream everywhere.
Diffstat (limited to 'vsm')
-rw-r--r--vsm/src/vespa/vsm/common/document.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/vsm/src/vespa/vsm/common/document.h b/vsm/src/vespa/vsm/common/document.h
index a1c12dafbb6..b4fc7c86d8e 100644
--- a/vsm/src/vespa/vsm/common/document.h
+++ b/vsm/src/vespa/vsm/common/document.h
@@ -5,8 +5,11 @@
#include <vespa/document/fieldvalue/fieldvalue.h>
#include <vespa/vespalib/stllike/hash_map.h>
-namespace vsm
-{
+namespace vespalib {
+ class asciistream;
+}
+
+namespace vsm {
/// Type to identify fields in documents.
typedef unsigned int FieldIdT;