Created
December 23, 2017 22:50
-
-
Save gatoatigrado/168b7f7d820c2ef9522f2d9f3a677578 to your computer and use it in GitHub Desktop.
rawtherapee benchmark hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rtengine/StopWatch.h b/rtengine/StopWatch.h | |
index 9e4400b..4a4ca65 100644 | |
--- a/rtengine/StopWatch.h | |
+++ b/rtengine/StopWatch.h | |
@@ -19,6 +19,7 @@ | |
* Author: reine | |
*/ | |
+#define BENCHMARK | |
#ifndef STOPWATCH_H | |
#define STOPWATCH_H | |
#include <iostream> | |
diff --git a/rtgui/main-cli.cc b/rtgui/main-cli.cc | |
index 1d1917e..71213d8 100644 | |
--- a/rtgui/main-cli.cc | |
+++ b/rtgui/main-cli.cc | |
@@ -477,7 +477,7 @@ int processLineParams ( int argc, char **argv ) | |
bool notAll = allExtensions && !options.is_parse_extention (argument); | |
bool notRetained = !allExtensions && !options.has_retained_extention (argument); | |
- if (notAll || notRetained) { | |
+ if (notAll) { | |
if (notAll) { | |
std::cout << "\"" << argument << "\" is not one of the file format to process: skipped" << std::endl; | |
} else if (notRetained) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment