error calling non-static function

Hi,
I'm reading the source of a gui library called egui, I found the Property mechanism is interesting, but the source doesn't seem to work:
Property.hpp: http://pastebin.com/56wDdZNP
at line 201,
void set(const type& val) {
the set function is defined as non-static

and at line 326,
property_base::property_write<type>::set(val);
the set is called as static
I don't think is a bug because Property is such a low level utility that used in all the gui components.
It looks like a derived class calling one of it base class functions.
Oh that's it, the derivation is so complex.
Thank you guestgulkan.
Topic archived. No new replies allowed.