summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-04-05 22:33:50 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-04-05 22:33:50 +0000
commit99bcf03314e63ed92945d6c646c2ef27018c0bd8 (patch)
treec3ca75990c0a37bf0e560884bee51f877734fdde /searchcore
parentd16b6e9e966a2b13675ef90a911e2b277bc7e6e7 (diff)
Eliminate namespace pollution caused by misplaced using statement.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/common/attrupdate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/common/attrupdate.h b/searchcore/src/vespa/searchcore/proton/common/attrupdate.h
index 8e21257bd4d..c7ab98107cd 100644
--- a/searchcore/src/vespa/searchcore/proton/common/attrupdate.h
+++ b/searchcore/src/vespa/searchcore/proton/common/attrupdate.h
@@ -9,16 +9,16 @@
namespace search {
-using document::Field;
-using document::FieldValue;
-using document::FieldUpdate;
-using document::ValueUpdate;
namespace tensor { class TensorAttribute; }
namespace attribute { class ReferenceAttribute; }
VESPA_DEFINE_EXCEPTION(UpdateException, vespalib::Exception);
class AttrUpdate {
+ using Field = document::Field;
+ using FieldValue = document::FieldValue;
+ using FieldUpdate = document::FieldUpdate;
+ using ValueUpdate = document::ValueUpdate;
public:
static void handleUpdate(AttributeVector & vec, uint32_t lid, const FieldUpdate & upd);