In this situation, the compiler uses information about si to access the static function, but the instance of the class is not needed to call the static function; hence the warning. To resolve this warning, you could:

Add a constructor, in which the compiler would use the instance of si in the call to func.