Removed useless Init method in rangset.h.

Removed unused #include in tokenizer.h.
This commit is contained in:
James Cline
2010-06-23 13:27:01 +00:00
parent 1fe20db49a
commit 04bb7a2a32
4 changed files with 2 additions and 11 deletions
@@ -291,7 +291,6 @@ void TestIntMap() {
void TestRangeSet() {
RangeSet<int> set;
set.Init();
set.Union(1, 4);
set.Union(10, 16);
set.Union(4, 10);
@@ -39,9 +39,10 @@
#define COL_RANGESET_H
#include "../base/base.h"
#include <vector>
#include <algorithm>
#include <iostream>
#include <vector>
/**
* A set containing a union of [start,end) ranges that are automatically
@@ -74,12 +75,6 @@ class RangeSet {
ranges_.reserve(size);
}
/**
* Deprecated, use constructor.
*/
void Init() {
}
/**
* Reinitializes to an empty set of ranges.
*/
@@ -42,7 +42,6 @@
#include "../base/base.h"
#include <string>
#include <algorithm>
#include <vector>
#include <iostream>
@@ -102,8 +102,6 @@ void DistributedCache::InitCommon_(int channel_num_in) {
overflow_next_.default_value() = BIG_BAD_NUMBER;
overflow_device_ = NULL;
write_ranges_.Init();
my_rank_ = rpc::rank();
}