mirror of https://github.com/tstack/lnav.git
[build] need a cast...
This commit is contained in:
parent
775d2443a6
commit
50b63559ce
|
@ -113,7 +113,7 @@ struct bind_multiple : multiple_storage<T> {
|
|||
}
|
||||
bind<I, Annotations...>::to_instance(single.get());
|
||||
multiple_storage<T>::get_factories()[typeid(I).name()] = [single]() {
|
||||
return single;
|
||||
return std::static_pointer_cast<T>(single);
|
||||
};
|
||||
|
||||
return *this;
|
||||
|
|
Loading…
Reference in New Issue