You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/private/tmp/indicators (master*) » clang++ test.cpp -Iinclude -std=c++17 1 ↵ jonaseveraert@MacBook-Pro-van-Jonas
In file included from test.cpp:2:
include/indicators/dynamic_progress.hpp:26:12: error: no member named 'multi_progress_mode_' in 'indicators::ProgressSpinner'
26 | bar->multi_progress_mode_ = true;
| ~~~~~^
test.cpp:37:38: note: in instantiation of function template specialization 'indicators::DynamicProgress<indicators::ProgressSpinner>::DynamicProgress<std::unique_ptr<indicators::ProgressSpinn
37 | DynamicProgress<ProgressSpinner> spinners(spinner1, spinner2, spinner3);
| ^
In file included from test.cpp:2:
include/indicators/dynamic_progress.hpp:98:31: error: too many arguments to function call, expected 0, have 1
98 | bar->print_progress(true);
| ~~~~~~~~~~~~~~~~~~~ ^~~~
include/indicators/dynamic_progress.hpp:33:5: note: in instantiation of member function 'indicators::DynamicProgress<indicators::ProgressSpinner>::print_progress' requested here
33 | print_progress();
| ^
test.cpp:42:21: note: in instantiation of member function 'indicators::DynamicProgress<indicators::ProgressSpinner>::operator[]' requested here
42 | spinners[i].tick();
| ^
include/indicators/progress_spinner.hpp:165:8: note: 'print_progress' declared here
165 | void print_progress() {
| ^
In file included from test.cpp:2:
include/indicators/dynamic_progress.hpp:110:29: error: too many arguments to function call, expected 0, have 1
110 | bar->print_progress(true);
| ~~~~~~~~~~~~~~~~~~~ ^~~~
include/indicators/progress_spinner.hpp:165:8: note: 'print_progress' declared here
165 | void print_progress() {
| ^
3 errors generated.
The text was updated successfully, but these errors were encountered:
DynamicProgress doesn't seem to work with ProgressSpinner. Take the following example:
This produces the following errors:
The text was updated successfully, but these errors were encountered: