Changeset 2286 for trunk/lib/hash.hpp


Ignore:
Timestamp:
Aug 9, 2012, 12:07:26 PM (7 years ago)
Author:
ksherdy
Message:

Removed problematic 'using namespace std;'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/hash.hpp

    r2275 r2286  
    1616#include <stdint.h>
    1717#include <iostream>
    18 using namespace std;
    1918
    2019///////////////////////////////////////////////////////////////////////////////
     
    6160//#ifdef HASH_HPP_DEBUG
    6261//    print_register<BitBlock>("base", *(BitBlock *)base);
    63 //    cout << "byte index:" << byte_idx << endl;
     62//    std::cout << "byte index:" << byte_idx << std::endl;
    6463//    print_register<BitBlock>("shift", *(BitBlock *)&shift);
    6564//    print_register<uint64_t>("mask", mask);
     
    8079#ifdef HASH_HPP_DEBUG
    8180    print_register<uint64_t>("base", *(uint64_t *)base);
    82     cout << "           bit index = " << bit_idx << endl;
     81    std::cout << "           bit index = " << bit_idx << std::endl;
    8382    print_register<uint64_t>("shift", *(uint64_t *)&shift);
    8483    print_register<uint64_t>("mask", mask);
     
    136135
    137136#ifndef NDEBUG
    138     cout << "Stream offset (bit):  " << offset << endl;
    139     cout << "Symbol lgth (bits): " << slice_size << endl;
    140     cout << "Hash size (bits):   " << hash_size << endl;
    141     cout << "Shift (bits): " << shift << endl;
     137    std::cout << "Stream offset (bit):  " << offset << std::endl;
     138    std::cout << "Symbol lgth (bits): " << slice_size << std::endl;
     139    std::cout << "Hash size (bits):   " << hash_size << std::endl;
     140    std::cout << "Shift (bits): " << shift << std::endl;
    142141
    143142    print_register<uint64_t>("base", *(uint64_t *)base);
Note: See TracChangeset for help on using the changeset viewer.