summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-29 23:05:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-29 23:05:30 +0300
commit11b1979a4dd43ff9b6788a8c95eec945ad5fde5a (patch)
treeb3299c42ca0594b16d9100b2706e8af728f88ce5 /src
parent6ba55bd63422372bf4b9a573f0c75fc0877652c1 (diff)
downloadmanaverse-11b1979a4dd43ff9b6788a8c95eec945ad5fde5a.tar.gz
manaverse-11b1979a4dd43ff9b6788a8c95eec945ad5fde5a.tar.bz2
manaverse-11b1979a4dd43ff9b6788a8c95eec945ad5fde5a.tar.xz
manaverse-11b1979a4dd43ff9b6788a8c95eec945ad5fde5a.zip
Remove VirtFs::makeRwops
Diffstat (limited to 'src')
-rw-r--r--src/fs/virtfs/virtfsrwops.cpp16
-rw-r--r--src/fs/virtfs/virtfsrwops.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/src/fs/virtfs/virtfsrwops.cpp b/src/fs/virtfs/virtfsrwops.cpp
index e66748967..c354b2e14 100644
--- a/src/fs/virtfs/virtfsrwops.cpp
+++ b/src/fs/virtfs/virtfsrwops.cpp
@@ -226,22 +226,6 @@ SDL_RWops *VirtFs::create_rwops(VirtFile *const file)
return retval;
} /* VirtFs::create_rwops */
-SDL_RWops *VirtFs::makeRwops(VirtFile *const handle)
-{
- SDL_RWops *retval = nullptr;
- if (!handle)
- {
- logger->assertLog("VirtFs::rwops_seek: NULL pointer passed to "
- "RWopsmakeRWops().");
- }
- else
- {
- retval = VirtFs::create_rwops(handle);
- }
-
- return retval;
-} /* RWopsmakeRWops */
-
#ifdef __APPLE__
static bool checkFilePath(const std::string &restrict fname)
{
diff --git a/src/fs/virtfs/virtfsrwops.h b/src/fs/virtfs/virtfsrwops.h
index ea1259d17..cc3fe55cf 100644
--- a/src/fs/virtfs/virtfsrwops.h
+++ b/src/fs/virtfs/virtfsrwops.h
@@ -77,7 +77,6 @@ namespace VirtFs
SDL_RWops *rwopsOpenWrite(const std::string &restrict fname) A_WARN_UNUSED;
SDL_RWops *rwopsOpenAppend(const std::string &restrict fname)
A_WARN_UNUSED;
- SDL_RWops *makeRwops(VirtFile *const handle) A_WARN_UNUSED;
} // namespace VirtFs
#endif // SRC_FS_VIRTFSRWOPS_H