summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-02-01 14:41:29 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-02-01 14:41:29 +0100
commitbad183b2e384096f34cd4bb0188a5e3f2e49c9d1 (patch)
tree80a509997d31556d54002137b22012cd242caa35 /searchlib
parent809e726cb714fd357eec4de4553e0b5d331423ba (diff)
Use vespalib::hex modifier for vespalib::asciistream.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/enumstore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/enumstore.cpp b/searchlib/src/vespa/searchlib/attribute/enumstore.cpp
index 3a8f1ad8de5..19076cc8db7 100644
--- a/searchlib/src/vespa/searchlib/attribute/enumstore.cpp
+++ b/searchlib/src/vespa/searchlib/attribute/enumstore.cpp
@@ -45,7 +45,7 @@ printEntry(vespalib::asciistream & os, const Entry & e) const
float _asFloat;
} u;
u._asFloat = e.getValue();
- os << ", bvalue: 0x" << std::hex << u._asInt;
+ os << ", bvalue: 0x" << vespalib::hex << u._asInt;
os << "}";
}
@@ -65,7 +65,7 @@ printEntry(vespalib::asciistream & os, const Entry & e) const
double _asDouble;
} u;
u._asDouble = e.getValue();
- os << ", bvalue: 0x" << std::hex << u._asLong;
+ os << ", bvalue: 0x" << vespalib::hex << u._asLong;
os << "}";
}