From d5c09cb9ea0ce15816ea4729c29efed47698da0b Mon Sep 17 00:00:00 2001 From: Juan Eugenio Abadie Date: Tue, 28 Aug 2018 16:36:17 -0300 Subject: [PATCH] Remove unused variables to avoid warnings in some compilers --- Release/include/cpprest/base_uri.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Release/include/cpprest/base_uri.h b/Release/include/cpprest/base_uri.h index b5fc8fcfd0..687844dbb4 100644 --- a/Release/include/cpprest/base_uri.h +++ b/Release/include/cpprest/base_uri.h @@ -29,8 +29,8 @@ namespace web { { uri_components() : m_path(_XPLATSTR("/")), m_port(-1) {} - uri_components(const uri_components &other) = default; - uri_components & operator=(const uri_components &other) = default; + uri_components(const uri_components &) = default; + uri_components & operator=(const uri_components &) = default; // This is for VS2013 compatibility -- replace with '= default' when VS2013 is completely dropped. uri_components(uri_components &&other) CPPREST_NOEXCEPT : @@ -209,12 +209,12 @@ namespace web { /// /// Copy constructor. /// - uri(const uri &other) = default; + uri(const uri &) = default; /// /// Copy assignment operator. /// - uri & operator=(const uri &other) = default; + uri & operator=(const uri &) = default; /// /// Move constructor.