Added missing header
authorkhizmax <libcds.dev@gmail.com>
Wed, 9 Dec 2015 20:38:51 +0000 (23:38 +0300)
committerkhizmax <libcds.dev@gmail.com>
Wed, 9 Dec 2015 20:38:51 +0000 (23:38 +0300)
tests/unit/map2/map_type_feldman_hashmap.h
tests/unit/print_feldman_hashset_stat.h

index 0896230c8b6d04ca4b35c764a4c9760e70929868..8deed3b35261ba37849cee9d093c43dacb1d46b0 100644 (file)
@@ -166,20 +166,6 @@ namespace map2 {
         std::vector< cds::intrusive::feldman_hashset::level_statistics > level_stat;
         m.get_level_statistics( level_stat );
         CPPUNIT_MSG( level_stat );
-        /*
-        CPPUNIT_MSG( "Level statistics, height=" << level_stat.size());
-        size_t i = 0;
-        CPPUNIT_MSG( "  i   node_count capacity    data_cell   array_cell   empty_cell" );
-        for (auto it = level_stat.begin(); it != level_stat.end(); ++it, ++i) {
-            CPPUNIT_MSG( std::setw(3)  << i                    << std::setw(0) << " "
-                      << std::setw(12) << it->array_node_count << std::setw(0) << " "
-                      << std::setw(8)  << it->node_capacity    << std::setw(0) << " "
-                      << std::setw(12) << it->data_cell_count  << std::setw(0) << " "
-                      << std::setw(12) << it->array_cell_count << std::setw(0) << " "
-                      << std::setw(12) << it->empty_cell_count << std::setw(0)
-                      );
-        }
-        */
     }
 
 }   // namespace map2
index 142b8ad160c016680d664ec082c98dcbd9fb7b85..96ac3bb27a70581aeac2d5d18b5bdb1c679e3d74 100644 (file)
@@ -3,8 +3,9 @@
 #ifndef CDSUNIT_PRINT_FELDMAN_HASHSET_STAT_H
 #define CDSUNIT_PRINT_FELDMAN_HASHSET_STAT_H
 
-#include <cds/intrusive/details/feldman_hashset_base.h>
 #include <ostream>
+#include <iomanip>
+#include <cds/intrusive/details/feldman_hashset_base.h>
 
 namespace std {