general: Replace NonCopyable struct with equivalents
This commit is contained in:
parent
76d83ffbec
commit
f785f73e92
12 changed files with 219 additions and 129 deletions
|
@ -5,9 +5,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
#include "common/common_funcs.h"
|
||||
#include "common/common_types.h"
|
||||
#include "core/frontend/emu_window.h"
|
||||
#include "video_core/gpu.h"
|
||||
|
@ -28,8 +29,11 @@ struct RendererSettings {
|
|||
Layout::FramebufferLayout screenshot_framebuffer_layout;
|
||||
};
|
||||
|
||||
class RendererBase : NonCopyable {
|
||||
class RendererBase {
|
||||
public:
|
||||
YUZU_NON_COPYABLE(RendererBase);
|
||||
YUZU_NON_MOVEABLE(RendererBase);
|
||||
|
||||
explicit RendererBase(Core::Frontend::EmuWindow& window,
|
||||
std::unique_ptr<Core::Frontend::GraphicsContext> context);
|
||||
virtual ~RendererBase();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue