diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2023-01-09 10:32:47 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2023-01-09 10:51:07 +0800 |
commit | 52b379e0a814f35a5f3f2bcfc259abb3ed1c0473 (patch) | |
tree | 52655cde0e52f1d924c32a51b59f11200a90fda8 /gio/src/dbusobject.ccg | |
parent | d661472529852c358f2ff441dcc396db3027075a (diff) | |
download | glibmm-52b379e0a814f35a5f3f2bcfc259abb3ed1c0473.tar.gz |
liststore.hg: Rename a local variable
In the templatized implementation of
std::pair<bool, unsigned int> ListStore<T_item>::find, replace 'result' with
'find_result' for what g_list_store_find_with_equal_func_full() returns, to
avoid a compiler warning when building the giomm_listmodel test program when
'-Dwarnings=max' is specified, for Visual Studio builds, as we are using a
variable 'result' in a rather global scrope there[1].
This will help fix 'meson dist' on Visual Studio builds.
[1]: https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4459
Diffstat (limited to 'gio/src/dbusobject.ccg')
0 files changed, 0 insertions, 0 deletions