Move NonCopyable so it can be used outside the plugin
This commit is contained in:
parent
928726bf35
commit
7f456d1e2b
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "ModuleManager.h"
|
||||
|
||||
#include "../Common/NonCopyable.h"
|
||||
#include "NonCopyable.h"
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(LogCarla, Log, All);
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
#define CARLA_API
|
||||
|
||||
#include "../../Common/NonCopyable.h"
|
||||
#include "NonCopyable.h"
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
class CARLA_API NonCopyable {
|
||||
public:
|
||||
|
||||
NonCopyable() = default;
|
||||
|
||||
NonCopyable(const NonCopyable &) = delete;
|
||||
|
||||
void operator=(const NonCopyable &x) = delete;
|
||||
};
|
Loading…
Reference in New Issue