Browse Source

fix warning

Samuel Thibault 4 years ago
parent
commit
dfde2fbf3b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/cpp/add_vectors_interface.cpp

+ 2 - 2
examples/cpp/add_vectors_interface.cpp

@@ -61,9 +61,9 @@ class my_allocator
 		node = a.get_node();
 	}
 
-	explicit my_allocator(const unsigned node)
+	explicit my_allocator(const unsigned thenode)
 	{
-		this->node = node;
+		this->node = thenode;
 	}
 
 	pointer allocate(size_type n, const void * = 0)