From 8dc142ebbd36e87872864a0ceb5d8e6247990347 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 9 Oct 2018 22:19:49 +0200 Subject: [PATCH] remove not needed code --- alib2common/src/object/Object.cpp | 6 ------ alib2common/src/object/Object.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/alib2common/src/object/Object.cpp b/alib2common/src/object/Object.cpp index ad64be67b2..96dabc830f 100644 --- a/alib2common/src/object/Object.cpp +++ b/alib2common/src/object/Object.cpp @@ -19,12 +19,6 @@ void Object::inc ( ) { Object::Object ( int number ) : Object ( object::AnyObject < int > ( number ) ) { } -Object::Object ( int number1, int number2 ) : Object ( Object ( number1 ), Object ( number2 ) ) { -} - -Object::Object ( Object object1, Object object2 ) : Object ( object::AnyObject < ext::pair < Object, Object > > { ext::make_pair ( std::move ( object1 ), std::move ( object2 ) ) } ) { -} - Object::Object ( char character ) : Object ( object::AnyObject < char > ( character ) ) { } diff --git a/alib2common/src/object/Object.h b/alib2common/src/object/Object.h index 405efa4ccd..93c91db8fd 100644 --- a/alib2common/src/object/Object.h +++ b/alib2common/src/object/Object.h @@ -33,9 +33,7 @@ class Object { } public: - explicit Object ( Object label1, Object label2 ); explicit Object ( int number ); - explicit Object ( int number1, int number2 ); explicit Object ( char character ); explicit Object ( std::string string ); explicit Object ( const char * string ); -- GitLab