Skip to content

Commit

Permalink
[windows-19] Add typename keyword
Browse files Browse the repository at this point in the history
Fixes error C7510: use of dependent type name must be prefixed with 'typename'
  • Loading branch information
congard committed Sep 7, 2024
1 parent 7b49f21 commit c9f8b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tulz/observer/EternalObserverFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace tulz {
namespace detail {
using EternalObserverFactory_t = decltype([]<typename ...Args>(EternalObserver<Args...>::Func f = {}) {
using EternalObserverFactory_t = decltype([]<typename ...Args>(typename EternalObserver<Args...>::Func f = {}) {
return std::make_unique<EternalObserver<Args...>>(std::move(f));
});
}
Expand Down

0 comments on commit c9f8b10

Please sign in to comment.