Consistency in namespace-closing comments
[folly.git] / folly / experimental / hazptr / test / HazptrUse2.h
index ce7af015258395e589374d4b08dbfd32692ce826..9d1b1008788b87272caa044f740530313d411c8b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,13 +23,13 @@ namespace hazptr {
 
 class MineMemoryResource : public memory_resource {
  public:
-  void* allocate(const size_t sz, const size_t /* align */) {
+  void* allocate(const size_t sz, const size_t /* align */) override {
     void* p = malloc(sz);
     DEBUG_PRINT(p << " " << sz);
     return p;
   }
 
-  void deallocate(void* p, const size_t sz, const size_t /* align */) {
+  void deallocate(void* p, const size_t sz, const size_t /* align */) override {
     DEBUG_PRINT(p << " " << sz);
     free(p);
   }
@@ -49,5 +49,5 @@ inline void mineReclaimFnDelete(Node2* p) {
   delete p;
 }
 
-} // namespace folly {
-} // namespace hazptr {
+} // namespace folly
+} // namespace hazptr