Skip to content

v0.2.54..v0.2.55 changeset CleanCmd.cpp

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/cmd/CleanCmd.cpp b/hoot-core/src/main/cpp/hoot/core/cmd/CleanCmd.cpp
index c172bca..1fdc69c 100644
--- a/hoot-core/src/main/cpp/hoot/core/cmd/CleanCmd.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/cmd/CleanCmd.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 // Hoot
@@ -61,13 +61,14 @@ public:
 
   virtual int runSimple(QStringList& args) override
   {
+    Tgs::Timer timer;
+
     if (args.size() != 2)
     {
       cout << getHelp() << endl << endl;
       throw HootException(QString("%1 takes two parameters.").arg(getName()));
     }
 
-    Tgs::Timer timer;
     Progress progress(
       ConfigOptions().getJobId(),
       JOB_SOURCE,
Clone this wiki locally