]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
stringxx: Replace usage of deprecated glibmm function
authorJohn Wolfe <jwolfe@vmware.com>
Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)
commite239a31df9563c38ffbc0468deb1018b52334e02
treee2393f4335fb3033cdaf84a90bcd1aec70448c26
parent44bfc5bc266ae7fc9c8c3df551220942c187c587
stringxx: Replace usage of deprecated glibmm function

Glibmm::RefPtr::clear() has been deprecated for a while and was removed in
2.51. The reasoning is listed in the 2.44 header:

"/// @deprecated Use reset() instead because this leads to confusion with
clear() methods on the underlying class."

reset() has been available since 2.16, so it is trivial to switch to it.
open-vm-tools/services/plugins/dndcp/stringxx/ubstr_t.hh