Skip to content

Commit

Permalink
Remove unused variables to avoid warnings in some compilers (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
whoan authored and BillyONeal committed Oct 9, 2018
1 parent eadff24 commit 40eb6d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Release/include/cpprest/base_uri.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down Expand Up @@ -209,12 +209,12 @@ namespace web {
/// <summary>
/// Copy constructor.
/// </summary>
uri(const uri &other) = default;
uri(const uri &) = default;

/// <summary>
/// Copy assignment operator.
/// </summary>
uri & operator=(const uri &other) = default;
uri & operator=(const uri &) = default;

/// <summary>
/// Move constructor.
Expand Down

0 comments on commit 40eb6d2

Please sign in to comment.