From 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:21:10 +0300 Subject: Add missing const in other left files. --- src/actions/actions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/actions') 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; -- cgit v1.2.3-60-g2f50