From 3eedfe35812424cd1abbf337e75d49a7dc3442b9 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Mon, 27 Apr 2020 16:43:45 +0200
Subject: [PATCH] cleanup measurement from aql main binary

---
 aql2/src/aql.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/aql2/src/aql.cpp b/aql2/src/aql.cpp
index fa88ac28f8..302cc3fb41 100644
--- a/aql2/src/aql.cpp
+++ b/aql2/src/aql.cpp
@@ -31,7 +31,6 @@ std::istream& operator>> ( std::istream & in, std::pair < T, U > & value ) {
 
 #include <string>
 
-#include <alib/measure>
 #include <alib/exception>
 
 #include <tclap/CmdLine.h>
@@ -106,9 +105,6 @@ int main ( int argc, char * argv[] ) {
 
 		TCLAP::CmdLine cmd ( "Algorithms Query Language shell", ' ', ALIB_VERSION_INFO ); // NOLINT(clang-analyzer-optin.cplusplus.VirtualCall)
 
-		TCLAP::SwitchArg measure ( "m", "measure", "Sets measure mode", false );
-		cmd.add ( measure );
-
 		TCLAP::SwitchArg verbose ( "v", "verbose", "Sets verbose mode (set verbose 1)", false );
 		cmd.add ( verbose );
 
@@ -132,7 +128,6 @@ int main ( int argc, char * argv[] ) {
 		cmd.parse ( argc, argv );
 
 		common::GlobalData::verbose = verbose.isSet();
-		common::GlobalData::measure = measure.isSet();
 
 		/* --------------------------------------------------------------------------------------------------------- */
 
-- 
GitLab