Eliminate 'suspicious pointer subtraction' cppcheck warning (gc_cpp)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 26 Oct 2016 08:13:29 +0000 (11:13 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 26 Oct 2016 08:13:48 +0000 (11:13 +0300)
commitc6a48c396c4093945ef0c2978f5ea63a4ef2042c
tree1e37059fe3353ed0a8cbda410effea21b9a3aaa1
parent7e81c1dc0b62e11a38b92395595b30fe762ca60c
Eliminate 'suspicious pointer subtraction' cppcheck warning (gc_cpp)

* include/gc_cpp.h (gc_cleanup::gc_cleanup): Define this_ptr void
pointer; use this_ptr instead of this keyword to outline that the
pointer subtraction is intentional (i.e., "this->" was not intended).
include/gc_cpp.h