Fix index.hpp
Bad return type.
This commit is contained in:
parent
c108a78b35
commit
dc9e0fa025
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ namespace graphene { namespace db {
|
||||||
void on_modify( const object& obj );
|
void on_modify( const object& obj );
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void add_secondary_index()
|
T* add_secondary_index()
|
||||||
{
|
{
|
||||||
_sindex.emplace_back( new T() );
|
_sindex.emplace_back( new T() );
|
||||||
return static_cast<T*>(_sindex.back().get());
|
return static_cast<T*>(_sindex.back().get());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue