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/bitstream_iterator.hpp

    r2275 r2286  
    1010#include <iterator>
    1111#include <iostream>
    12 using namespace std;
    1312
    1413#include "bitblock.hpp" // ctzl, SIMD_type
    1514
    16 class BitStreamIterator: public iterator<input_iterator_tag, int>
     15class BitStreamIterator: public std::iterator<std::input_iterator_tag, int>
    1716{
    1817public:
     
    8786
    8887        void debug() {
    89                 cout << "pos: " << pos << endl;
    90                 cout << "blk: " << blk << endl;
    91                 cout << "blk_pos: " << blk_pos << endl;
     88        std::cout << "pos: " << pos << std::std::endl;
     89        std::cout << "blk: " << blk << std::endl;
     90        std::cout << "blk_pos: " << blk_pos << std::endl;
    9291        }
    9392
Note: See TracChangeset for help on using the changeset viewer.