mirror of https://gitee.com/bigwinds/arangodb
fix compile error
This commit is contained in:
parent
0147d8fa92
commit
2761b7daaf
|
@ -160,6 +160,10 @@ Index::IndexType Index::type(char const* type) {
|
||||||
|
|
||||||
return TRI_IDX_TYPE_UNKNOWN;
|
return TRI_IDX_TYPE_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Index::IndexType Index::type(std::string const& type) {
|
||||||
|
return Index::type(type.c_str());
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief return the name of an index type
|
/// @brief return the name of an index type
|
||||||
|
|
|
@ -263,9 +263,7 @@ class Index {
|
||||||
/// @brief return the index type based on a type name
|
/// @brief return the index type based on a type name
|
||||||
static IndexType type(char const* type);
|
static IndexType type(char const* type);
|
||||||
|
|
||||||
static IndexType type(std::string const& type) {
|
static IndexType type(std::string const& type);
|
||||||
return type(type.c_str());
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual bool allowExpansion() const = 0;
|
virtual bool allowExpansion() const = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue