Fix missing 'typename' prior to dependent type name

This commit is contained in:
Илья Коргун 2023-07-27 10:29:36 +03:00
parent e511072df1
commit d6afa3de01

View File

@ -185,7 +185,7 @@ void SystemLogQueue<LogElement>::confirm(uint64_t to_flush_end)
} }
template <typename LogElement> template <typename LogElement>
SystemLogQueue<LogElement>::Index SystemLogQueue<LogElement>::pop(std::vector<LogElement>& output, bool& should_prepare_tables_anyway, bool& exit_this_thread) typename SystemLogQueue<LogElement>::Index SystemLogQueue<LogElement>::pop(std::vector<LogElement>& output, bool& should_prepare_tables_anyway, bool& exit_this_thread)
{ {
std::unique_lock lock(mutex); std::unique_lock lock(mutex);
flush_event.wait_for(lock, flush_event.wait_for(lock,