From c33c6abc825f1ea0807904528dd567c466262d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Thu, 22 Apr 2021 08:35:54 +0200 Subject: [PATCH] Remove useless explicit constructor --- samples/Jzon.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/samples/Jzon.h b/samples/Jzon.h index 21eb8ca8..b2ec6ba3 100644 --- a/samples/Jzon.h +++ b/samples/Jzon.h @@ -50,16 +50,6 @@ namespace Jzon Pair(T1 first, T2 second) : first(first), second(second) {} - Pair &operator=(const Pair &rhs) - { - if (this != &rhs) - { - this->first = rhs.first; - this->second = rhs.second; - } - return *this; - } - T1 first; T2 second; };