mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
StreamBuffer: Make factory function return a std::unique_ptr
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "Common/GL/GLUtil.h"
|
||||
@ -20,7 +21,7 @@ class StreamBuffer
|
||||
{
|
||||
|
||||
public:
|
||||
static StreamBuffer* Create(u32 type, u32 size);
|
||||
static std::unique_ptr<StreamBuffer> Create(u32 type, u32 size);
|
||||
virtual ~StreamBuffer();
|
||||
|
||||
/* This mapping function will return a pair of:
|
||||
|
Reference in New Issue
Block a user