mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
next batch for cppeheck, addressing syntaxError and
constParameterPointer
This commit is contained in:
@@ -465,7 +465,7 @@ void processArgs(int argc, char *argv[], vector<BenchmarkSigs> &sigSets,
|
||||
|
||||
/** Start the global timer. */
|
||||
static
|
||||
void startTotalTimer(ThreadContext *ctx) {
|
||||
void startTotalTimer(const ThreadContext *ctx) {
|
||||
if (ctx->num != 0) {
|
||||
return; // only runs in the first thread
|
||||
}
|
||||
@@ -474,7 +474,7 @@ void startTotalTimer(ThreadContext *ctx) {
|
||||
|
||||
/** Stop the global timer and calculate totals. */
|
||||
static
|
||||
void stopTotalTimer(ThreadContext *ctx) {
|
||||
void stopTotalTimer(const ThreadContext *ctx) {
|
||||
if (ctx->num != 0) {
|
||||
return; // only runs in the first thread
|
||||
}
|
||||
|
Reference in New Issue
Block a user