From 7892c989966eadb10caec033458df14ed43b3387 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Thu, 3 Dec 2015 11:06:25 +0100 Subject: [PATCH] unconstify return types --- arangod/Utils/CollectionNameResolver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arangod/Utils/CollectionNameResolver.h b/arangod/Utils/CollectionNameResolver.h index ec67b5fc14..64a3c10790 100644 --- a/arangod/Utils/CollectionNameResolver.h +++ b/arangod/Utils/CollectionNameResolver.h @@ -98,7 +98,7 @@ namespace triagens { /// @brief look up a collection type for a collection name (local case) //////////////////////////////////////////////////////////////////////////////// - TRI_col_type_t const getCollectionType (std::string const& name) const { + TRI_col_type_t getCollectionType (std::string const& name) const { if (name[0] >= '0' && name[0] <= '9') { // name is a numeric id return getCollectionType(getCollectionName(static_cast(triagens::basics::StringUtils::uint64(name)))); @@ -162,7 +162,7 @@ namespace triagens { /// coordinator and for a shard name on the db server //////////////////////////////////////////////////////////////////////////////// - TRI_col_type_t const getCollectionTypeCluster (std::string const& name) const { + TRI_col_type_t getCollectionTypeCluster (std::string const& name) const { // This fires in Single server case as well if (! ServerState::instance()->isCoordinator()) { return getCollectionType(name);