Browse Source

[2852] Rename local variable (don't use member variable syntax)

Mukund Sivaraman 12 years ago
parent
commit
b692530147
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/lib/datasrc/tests/client_list_unittest.cc

+ 3 - 3
src/lib/datasrc/tests/client_list_unittest.cc

@@ -187,14 +187,14 @@ public:
 
         // Load the data into the zone table.
         if (enabled) {
-            const ConstElementPtr config_ztable_segment_(
+            const ConstElementPtr config_ztable_segment(
                 Element::fromJSON("{\"mapped-file\": \"" +
                                   getMappedFilename(index) +
                                   "\"}"));
 
             list_->resetMemorySegment(dsrc_info.name_,
                                       memory::ZoneTableSegment::CREATE,
-                                      config_ztable_segment_);
+                                      config_ztable_segment);
 
             boost::scoped_ptr<memory::ZoneWriter> writer(
                 new memory::ZoneWriter(
@@ -207,7 +207,7 @@ public:
 
             list_->resetMemorySegment(dsrc_info.name_,
                                       memory::ZoneTableSegment::READ_WRITE,
-                                      config_ztable_segment_);
+                                      config_ztable_segment);
         }
 
         // On completion of load revert to the previous state of underlying