Skip to content

Commit a80a167

Browse files
committed
fix: error: expected primary-expression before '>' token with icontainer
1 parent c0499aa commit a80a167

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/mosure/interfaces/icontainer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

single_include/mosure/inversify.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)