This commit is contained in:
ywang
2020-06-10 13:23:29 -07:00
parent 578a7ac502
commit f57e7221c0
3 changed files with 17 additions and 4 deletions

View File

@@ -587,7 +587,7 @@ ExportProperties::ExportProperties(const ExportProperties &other)
}
//wangyi 0608
bool ExportProperties::SetPropertyCallback(const char *szName, std::function<void *(void *)> &f) {
bool ExportProperties::SetPropertyCallback(const char *szName, const std::function<void *(void *)> &f) {
return SetGenericProperty<std::function<void *(void *)>>(mCallbackProperties, szName, f);
}
std::function<void *(void *)> ExportProperties::GetPropertyCallback(const char *szName) const {