summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-23 19:10:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-23 19:10:51 +0300
commit9336f9ccd10f25f737cad530e8aec841d858c350 (patch)
treec5b98bb3c390eaea648095b2250516824d9904e7 /src/test
parent85c2332abec927c17d7396bf736da8333073fc97 (diff)
downloadmv-9336f9ccd10f25f737cad530e8aec841d858c350.tar.gz
mv-9336f9ccd10f25f737cad530e8aec841d858c350.tar.bz2
mv-9336f9ccd10f25f737cad530e8aec841d858c350.tar.xz
mv-9336f9ccd10f25f737cad530e8aec841d858c350.zip
Fix style issues.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index e20721a07..2a3df56de 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -489,9 +489,9 @@ static void initBuffer(uint32_t *const buf,
static void calcTime(const char *const msg1,
const char *const msg2,
- timespec &time1,
+ const timespec &time1,
timespec &time2,
- uint32_t *const buf)
+ const uint32_t *const buf)
{
clock_gettime(CLOCK_MONOTONIC, &time2);
long diff = ((static_cast<long int>(time2.tv_sec) * 1000000000L