aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-18 14:38:13 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit04cef8928ce0c8664bd3bb923eed3ceaa9ac17c5 (patch)
tree616ff2fba7895df873352a72a6f4cb5d60eeef33 /backends
parentb908b286b9767ff7a0207ce9414279ce5291762c (diff)
downloadscummvm-rg350-04cef8928ce0c8664bd3bb923eed3ceaa9ac17c5.tar.gz
scummvm-rg350-04cef8928ce0c8664bd3bb923eed3ceaa9ac17c5.tar.bz2
scummvm-rg350-04cef8928ce0c8664bd3bb923eed3ceaa9ac17c5.zip
CLOUD: Fix "type qualifiers ignored" warning
Diffstat (limited to 'backends')
-rw-r--r--backends/networking/sdl_net/indexpagehandler.cpp2
-rw-r--r--backends/networking/sdl_net/indexpagehandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/networking/sdl_net/indexpagehandler.cpp b/backends/networking/sdl_net/indexpagehandler.cpp
index a1a426d048..e459b3a47d 100644
--- a/backends/networking/sdl_net/indexpagehandler.cpp
+++ b/backends/networking/sdl_net/indexpagehandler.cpp
@@ -140,7 +140,7 @@ Common::ArchiveMemberList IndexPageHandler::listArchive() {
return resultList;
}
-Common::SeekableReadStream *const IndexPageHandler::getArchiveFile(Common::String name) {
+Common::SeekableReadStream *IndexPageHandler::getArchiveFile(Common::String name) {
Common::SeekableReadStream *result = nullptr;
Common::Archive *zipArchive = getZipArchive();
if (zipArchive) {
diff --git a/backends/networking/sdl_net/indexpagehandler.h b/backends/networking/sdl_net/indexpagehandler.h
index df509a42b5..cbcc6dab6e 100644
--- a/backends/networking/sdl_net/indexpagehandler.h
+++ b/backends/networking/sdl_net/indexpagehandler.h
@@ -39,7 +39,7 @@ class IndexPageHandler: public GUI::CommandSender {
void replace(Common::String &source, const Common::String &what, const Common::String &with);
Common::Archive *getZipArchive();
Common::ArchiveMemberList listArchive();
- Common::SeekableReadStream *const getArchiveFile(Common::String name);
+ Common::SeekableReadStream *getArchiveFile(Common::String name);
Common::String readEverythingFromStream(Common::SeekableReadStream *const stream);
public: