makepanda: fix macOS compile error in CheckPandaVersion

See #327
This commit is contained in:
rdb 2018-05-27 15:39:02 +02:00
parent 8d84c58d73
commit 239f66cf11

View File

@ -2618,7 +2618,7 @@ extern EXPCL_DTOOL_DTOOLBASE int panda_version_$VERSION1_$VERSION2;
template<typename T>
class CheckPandaVersion {
public:
int check() { return panda_version_$VERSION1_$VERSION2; }
int check_version() { return panda_version_$VERSION1_$VERSION2; }
};
template class CheckPandaVersion<void>;
# endif