From 1045b274fb430286dc09a06b4ab2bfe29e53c889 Mon Sep 17 00:00:00 2001 From: andrey Date: Thu, 16 Jul 2020 12:52:44 +0300 Subject: [PATCH] fix test main.cpp --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index c335b22a..9eb4b570 100644 --- a/main.cpp +++ b/main.cpp @@ -131,7 +131,7 @@ void swap(std::string & x, std::string & y) {std::string t = x; x = y; y = t;} void swap2(std::string & x, std::string & y) {std::string t{std::move(x)}; x = std::move(y); y = std::move(t);} void swap(A & x, A & y) {A t = x; x = y; y = t;} void swap2(A & x, A & y) {A t{std::move(x)}; x = std::move(y); y = std::move(t);} -void swap(PIObject & x, PIObject & y) {A t = x; x = y; y = t;} +//void swap(PIObject & x, PIObject & y) {A t = x; x = y; y = t;} //void swap2(PIObject & x, PIObject & y) {A t(std::move(x)); x = std::move(y); y = std::move(t);} int main(int argc, char * argv[]) {