File tree Expand file tree Collapse file tree
include/mosure/interfaces Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ namespace mosure::inversify {
2020 inversify::BindingToPtr<T> bind (const inversify::Symbol& type) {
2121 auto crtpImplementation = static_cast <Implementation const *>(this );
2222
23- return crtpImplementation->bind <T>(type);
23+ return crtpImplementation->template bind <T>(type);
2424 }
2525
2626 template <typename T>
2727 T get (const inversify::Symbol& type) const {
2828 auto crtpImplementation = static_cast <Implementation const *>(this );
2929
30- return crtpImplementation->get <T>(type);
30+ return crtpImplementation->template get <T>(type);
3131 }
3232 };
3333
Original file line number Diff line number Diff line change @@ -81,14 +81,14 @@ namespace mosure::inversify {
8181 inversify::BindingToPtr<T> bind (const inversify::Symbol& type) {
8282 auto crtpImplementation = static_cast <Implementation const *>(this );
8383
84- return crtpImplementation->bind <T>(type);
84+ return crtpImplementation->template bind <T>(type);
8585 }
8686
8787 template <typename T>
8888 T get (const inversify::Symbol& type) const {
8989 auto crtpImplementation = static_cast <Implementation const *>(this );
9090
91- return crtpImplementation->get <T>(type);
91+ return crtpImplementation->template get <T>(type);
9292 }
9393 };
9494
You can’t perform that action at this time.
0 commit comments