summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
commit7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (patch)
tree8b74b950fd50627b9477d97053a4ade9fd9aa7fd /src/actions/actions.cpp
parent21069ec1635bd24ab33805e033d28f2c0b2de482 (diff)
downloadmanaplus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.gz
manaplus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.bz2
manaplus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.xz
manaplus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.zip
Add missing const in other left files.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 668b1aeb9..335a5439c 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -126,14 +126,14 @@ namespace Actions
{
static int uploadUpdate(void *ptr,
- DownloadStatusT status,
+ const DownloadStatusT status,
size_t total A_UNUSED,
- size_t remaining A_UNUSED) A_NONNULL(1);
+ const size_t remaining A_UNUSED) A_NONNULL(1);
static int uploadUpdate(void *ptr,
- DownloadStatusT status,
+ const DownloadStatusT status,
size_t total A_UNUSED,
- size_t remaining A_UNUSED)
+ const size_t remaining A_UNUSED)
{
if (status == DownloadStatus::Idle || status == DownloadStatus::Starting)
return 0;