mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
memory-related refactor
This commit is contained in:
parent
f47c7d00a2
commit
c5f663b7cb
16 changed files with 205 additions and 209 deletions
|
|
@ -17,6 +17,6 @@ std::unique_ptr<Stream> NoAudio::openStream(std::shared_ptr<PCMStream> stream, b
|
|||
return std::make_unique<NoStream>(stream, keepSource);
|
||||
}
|
||||
|
||||
NoAudio* NoAudio::create() {
|
||||
return new NoAudio();
|
||||
std::unique_ptr<NoAudio> NoAudio::create() {
|
||||
return std::make_unique<NoAudio>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue