From 04cef8928ce0c8664bd3bb923eed3ceaa9ac17c5 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Sat, 18 Jun 2016 14:38:13 +0600 Subject: CLOUD: Fix "type qualifiers ignored" warning --- backends/networking/sdl_net/indexpagehandler.cpp | 2 +- backends/networking/sdl_net/indexpagehandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends') 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: -- cgit v1.2.3