summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2016-10-21 13:55:46 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2016-10-21 13:55:46 +0000
commite848853ab68459db60e4199f7887a8ad6f1903b0 (patch)
tree5c9967de67fc0251da54d7de0ae9dd9fdca834cd /searchlib
parent0ca70764229789e6932492c33c2bcc022bc1b240 (diff)
Rename anonymous function to more descriptive name.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/tensor/dense_tensor_store.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/vespa/searchlib/tensor/dense_tensor_store.cpp b/searchlib/src/vespa/searchlib/tensor/dense_tensor_store.cpp
index c2f9b67dfc5..82e8870d4eb 100644
--- a/searchlib/src/vespa/searchlib/tensor/dense_tensor_store.cpp
+++ b/searchlib/src/vespa/searchlib/tensor/dense_tensor_store.cpp
@@ -174,9 +174,9 @@ DenseTensorStore::move(EntryRef ref) {
namespace {
-ValueType makeBoundType(const ValueType &type,
- const void *buffer,
- uint32_t numUnboundDims)
+ValueType makeConcreteType(const ValueType &type,
+ const void *buffer,
+ uint32_t numUnboundDims)
{
std::vector<ValueType::Dimension> dimensions(type.dimensions());
const uint32_t *unboundDimSizeEnd = static_cast<const uint32_t *>(buffer);
@@ -208,7 +208,7 @@ DenseTensorStore::getTensor(EntryRef ref) const
ConstArrayRef<double>(static_cast<const double *>(raw), numCells));
}
return std::make_unique<MutableDenseTensorView>
- (makeBoundType(_type, raw, _numUnboundDims),
+ (makeConcreteType(_type, raw, _numUnboundDims),
ConstArrayRef<double>(static_cast<const double *>(raw), numCells));
}