From a329c3c167b8d570a656b2eed5af23e6afe8096b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 May 2022 16:19:02 +0300 Subject: Autocommit at 28.05.2022 @ 16:19 --- src/Generic/Pair/Pair.hpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/Generic') diff --git a/src/Generic/Pair/Pair.hpp b/src/Generic/Pair/Pair.hpp index e21ea51..0238130 100644 --- a/src/Generic/Pair/Pair.hpp +++ b/src/Generic/Pair/Pair.hpp @@ -2,16 +2,12 @@ #define PAIR template -class Pair { +struct Pair { T left; U right; -public: Pair(); Pair(const T& left, const U& right); - - const T& l(); - const U& r(); }; template @@ -21,14 +17,4 @@ Pair::Pair() : left(), right() {} template Pair::Pair(const T& left, const U& right) : left(left), right(right) {} -template -const T& Pair::l() { - return left; -} - -template -const U& Pair::r() { - return right; -} - #endif -- cgit v1.3.1-26-gb76a