Removed redundant spaces
[libcds.git] / test / stress / map / find_string / map_find_string.cpp
index 068dd8882fc0232c52bc949f196d4ec6037a7524..27bff50d64b95a52130e83a0107a8759388015a8 100644 (file)
@@ -5,7 +5,7 @@
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
-    
+
     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:
 
     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
     OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     
+    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
 #include "map_find_string.h"
 #include <cds_test/hash_func.h>
 
 namespace map {
-    
+
     size_t Map_find_string::s_nThreadCount = 8;
     size_t Map_find_string::s_nMapSize = 10000000;
     size_t Map_find_string::s_nMaxLoadFactor = 8;
@@ -140,7 +140,7 @@ namespace map {
         hasher h;
         for ( size_t i = 0; i < s_arrString.size(); ++i ) {
             hash_type hash = h( s_arrString.at( i ));
-            if ( mapHash.insert( std::make_pair( hash, i ) ).second ) {
+            if ( mapHash.insert( std::make_pair( hash, i )).second ) {
                 if ( ++nDiffHash >= nSize )
                     break;
                 bool bExists = rand( 100 ) <= s_nPercentExists;
@@ -195,5 +195,5 @@ namespace map {
         return lf;
     }
 
-    INSTANTIATE_TEST_CASE_P( a, Map_find_string_LF, ::testing::ValuesIn( Map_find_string::get_load_factors() ) );
+    INSTANTIATE_TEST_CASE_P( a, Map_find_string_LF, ::testing::ValuesIn( Map_find_string::get_load_factors()));
 } // namespace map