1
0
Fork 0

fix compile error

This commit is contained in:
jsteemann 2016-09-09 15:20:19 +02:00
parent 0147d8fa92
commit 2761b7daaf
2 changed files with 5 additions and 3 deletions

View File

@ -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
////////////////////////////////////////////////////////////////////////////////

View File

@ -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;