Commit 60be3fa8 authored by Daniel Boles's avatar Daniel Boles
Browse files

gtk-demo/demowindow—Don't use C++14 auto deduction

I broke this in 152fe12c back in 2017 :O
It seems it only got noticed now I set warnings as errors & `make check`

> /home/daniel/jhbuild/checkout/gnome/gtkmm-3/demos/gtk-demo/
> error: ‘demo_columns’ function uses ‘auto’ type specifier without trailing return type
>    54 | const auto& demo_columns()
>       | ^~~~~
> /home/daniel/jhbuild/checkout/gnome/gtkmm-3/demos/gtk-demo/
> note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
parent d269d174
......@@ -51,7 +51,7 @@ struct DemoColumns : public Gtk::TreeModelColumnRecord
// Singleton accessor function.
const auto& demo_columns()
const DemoColumns& demo_columns()
static DemoColumns column_record;
return column_record;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment