mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
fix: set C/C++ versions to make unit tests compile on systems where gnu++11 (or higher) is not default
This commit is contained in:
parent
f1a910b14f
commit
77ede52c92
@ -1,4 +1,5 @@
|
||||
project('webfuse', 'c', 'cpp', version: '0.7.0', license: 'LGPL-3.0+')
|
||||
project('webfuse', 'c', 'cpp', version: '0.7.0', license: 'LGPL-3.0+',
|
||||
default_options: ['c_std=gnu99', 'cpp_std=gnu++14'])
|
||||
|
||||
without_tests = get_option('without_tests')
|
||||
|
||||
|
@ -364,14 +364,14 @@ private:
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mutex);
|
||||
|
||||
command command = command::run;
|
||||
command actual_command = command::run;
|
||||
if (!commands.empty())
|
||||
{
|
||||
command = commands.front();
|
||||
actual_command = commands.front();
|
||||
commands.pop();
|
||||
}
|
||||
|
||||
return command;
|
||||
return actual_command;
|
||||
}
|
||||
|
||||
lws * wsi_;
|
||||
|
Loading…
Reference in New Issue
Block a user