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