mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Stream changes from NSF (#15446)
* Bring over NSF changes to stream classes * Add orca stream to project files * Bring over util changes as well. * Add const to util and fix util ungzip * Add const and apply review comments * Apply review comments
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "String.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <string_view>
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <sys/stat.h>
|
||||
@@ -42,6 +43,11 @@ namespace OpenRCT2
|
||||
{
|
||||
}
|
||||
|
||||
FileStream::FileStream(std::string_view path, int32_t fileMode)
|
||||
: FileStream(std::string(path), fileMode)
|
||||
{
|
||||
}
|
||||
|
||||
FileStream::FileStream(const utf8* path, int32_t fileMode)
|
||||
{
|
||||
const char* mode;
|
||||
|
||||
Reference in New Issue
Block a user