Skip to content

Commit 40eb6d2

Browse files
whoanBillyONeal
authored andcommitted
Remove unused variables to avoid warnings in some compilers (#855)
1 parent eadff24 commit 40eb6d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Release/include/cpprest/base_uri.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ namespace web {
2929
{
3030
uri_components() : m_path(_XPLATSTR("/")), m_port(-1) {}
3131

32-
uri_components(const uri_components &other) = default;
33-
uri_components & operator=(const uri_components &other) = default;
32+
uri_components(const uri_components &) = default;
33+
uri_components & operator=(const uri_components &) = default;
3434

3535
// This is for VS2013 compatibility -- replace with '= default' when VS2013 is completely dropped.
3636
uri_components(uri_components &&other) CPPREST_NOEXCEPT :
@@ -209,12 +209,12 @@ namespace web {
209209
/// <summary>
210210
/// Copy constructor.
211211
/// </summary>
212-
uri(const uri &other) = default;
212+
uri(const uri &) = default;
213213

214214
/// <summary>
215215
/// Copy assignment operator.
216216
/// </summary>
217-
uri & operator=(const uri &other) = default;
217+
uri & operator=(const uri &) = default;
218218

219219
/// <summary>
220220
/// Move constructor.

0 commit comments

Comments
 (0)