mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-28 19:16:48 +08:00
virtual dtors
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@
|
||||
class cuda_api {
|
||||
public:
|
||||
cuda_api();
|
||||
~cuda_api();
|
||||
virtual ~cuda_api();
|
||||
bool isLoaded() const;
|
||||
#if !NV_CONFIG(DLLAPI_CUDA) && !defined(CUDA_LINK)
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
@@ -33,8 +33,8 @@ class api
|
||||
{
|
||||
public:
|
||||
api();
|
||||
~api();
|
||||
bool loaded() const;
|
||||
virtual ~api();
|
||||
virtual bool loaded() const; // user may inherits multiple api classes: final::loaded() { return base1::loaded() && base2::loaded();}
|
||||
#ifndef CAPI_LINK_ASS
|
||||
// mkapi code generation BEGIN
|
||||
int ass_library_version();
|
||||
|
||||
Reference in New Issue
Block a user