Fixed broken build on lnx

This commit is contained in:
Pedro Pinto committed 2017-08-24 18:56:43 +00:00
1 parent 0f0867afe4
commit 6e979d0d27
1 file changed
+5 -3
+5 -3
View File
@@ -59,9 +59,11 @@ CAPI Quickbus* api_create_quickbus(const char* qbconfig, long length) {
}
CAPI void api_destroy_quickbus(Quickbus* qbus) {
//if (qbus != nullptr) {
// delete qbus;
//}
#ifndef WIN32
if (qbus != nullptr) {
delete qbus;
}
#endif
}
std::string base_topic(const char* type_name, const char* service_qualifier) {