Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(661)

Unified Diff: src/core/model/simple-ref-count.h

Issue 336970043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Review and update of patch set to make sure all comments are addressed Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/model/simple-ref-count.h
===================================================================
--- a/src/core/model/simple-ref-count.h
+++ b/src/core/model/simple-ref-count.h
@@ -25,6 +25,7 @@
#include "empty.h"
#include "default-deleter.h"
#include "assert.h"
+#include "unused.h"
#include <stdint.h>
#include <limits>
@@ -82,7 +83,9 @@
*/
SimpleRefCount (const SimpleRefCount &o)
: m_count (1)
- {}
+ {
+ NS_UNUSED (o);
+ }
/**
* Assignment operator
* \param [in] o The object to copy
@@ -90,6 +93,7 @@
*/
SimpleRefCount &operator = (const SimpleRefCount &o)
{
+ NS_UNUSED (o);
return *this;
}
/**

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b