diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-03 19:09:25 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-12 02:55:45 +0100 |
commit | 13956aed7c7a3413407a5910e447609e286a245e (patch) | |
tree | c76e46b2222b28933ce0e753de0d63eeb1085773 /staging_vespalib | |
parent | 86b600a7e6d0153f8e22a1ea468a72215d0c36a1 (diff) |
Do not bring in nbostream everywhere.
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/sort.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/sort.h b/staging_vespalib/src/vespa/vespalib/util/sort.h index 1710d5739f9..660179301bc 100644 --- a/staging_vespalib/src/vespa/vespalib/util/sort.h +++ b/staging_vespalib/src/vespa/vespalib/util/sort.h @@ -1,7 +1,7 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once -#include <vespa/vespalib/objects/nbostream.h> +#include <vespa/vespalib/objects/nbo.h> #include <functional> #include <limits> #include <algorithm> @@ -251,7 +251,7 @@ public: template<typename C> uint32_t serializeForSort(typename C::InputType v, void * dst) { - typename C::UIntType nbo(vespalib::nbostream::n2h(C::convert(v))); + typename C::UIntType nbo(vespalib::nbo::n2h(C::convert(v))); memcpy(dst, &nbo, sizeof(nbo)); return sizeof(nbo); } |