blob: b4fad86d32d3d211249e4ab1b9396b23c33577c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
$NetBSD: patch-src_datesearch.cxx,v 1.1 2012/12/21 10:29:47 dholland Exp $
Chase after the C++ standard:
- use "std" qualification
--- src/datesearch.cxx~ 2000-10-15 03:46:31.000000000 +0000
+++ src/datesearch.cxx
@@ -271,30 +271,30 @@ INDEX::DateRangeSearch(const STRING& Que
DURING);
INT nhits;
nhits = pirset->GetTotalEntries();
- cerr << "Got " << nhits << " with start dates after "
- << QueryStartDate.GetValue() << endl;
+ std::cerr << "Got " << nhits << " with start dates after "
+ << QueryStartDate.GetValue() << std::endl;
/*
other_pirset =
SingleDateSearchBefore(QueryEndDate, FieldName, SEARCH_START,
DURING);
nhits = other_pirset->GetTotalEntries();
- cerr << "Got " << nhits << " with start dates before "
- << QueryEndDate.GetValue() << endl;
+ std::cerr << "Got " << nhits << " with start dates before "
+ << QueryEndDate.GetValue() << std::endl;
//pirset->And(*other_pirset);
other_pirset =
SingleDateSearchAfter(QueryStartDate, FieldName, SEARCH_END,
DURING);
nhits = other_pirset->GetTotalEntries();
- cerr << "Got " << nhits << " with end dates after "
- << QueryStartDate.GetValue() << endl;
+ std::cerr << "Got " << nhits << " with end dates after "
+ << QueryStartDate.GetValue() << std::endl;
another_pirset =
SingleDateSearchBefore(QueryEndDate, FieldName, SEARCH_END,
DURING);
nhits = another_pirset->GetTotalEntries();
- cerr << "Got " << nhits << " with end dates before "
- << QueryEndDate.GetValue() << endl;
+ std::cerr << "Got " << nhits << " with end dates before "
+ << QueryEndDate.GetValue() << std::endl;
// other_pirset->And(*another_pirset);
// pirset->Or(*other_pirset);
*/
|