Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/Thread.cpp

Issue 29409580: Issue 5013 - Make parameter const ref when applicable. (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created April 11, 2017, 1:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/Thread.cpp
===================================================================
--- a/src/Thread.cpp
+++ b/src/Thread.cpp
@@ -18,17 +18,17 @@
#ifndef WIN32
#include <unistd.h>
#endif
#include "Thread.h"
using namespace AdblockPlus;
-void AdblockPlus::Sleep(const int millis)
+void AdblockPlus::Sleep(int millis)
{
#ifdef WIN32
::Sleep(millis);
#else
usleep(millis * 1000);
#endif
}

Powered by Google App Engine
This is Rietveld