mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
wrap FileStream's helper functions into anonymous namespace
This commit is contained in:
parent
85d1909ac5
commit
e6d87d5f35
@ -32,6 +32,8 @@
|
||||
using CharType = char;
|
||||
#endif
|
||||
|
||||
namespace
|
||||
{
|
||||
inline FILE* do_open(const CharType* name, const CharType* mode)
|
||||
{
|
||||
#ifdef VCMI_WINDOWS
|
||||
@ -61,6 +63,7 @@ voidpf ZCALLBACK MinizipOpenFunc(voidpf opaque, const void* filename, int mode)
|
||||
else
|
||||
return nullptr;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
template struct boost::iostreams::stream<VCMI_LIB_WRAP_NAMESPACE(FileBuf)>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user