blob: f9f66585cddbf5a1f60bcaf45e37586cbe457e6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ab,v 1.3 2003/09/30 17:26:58 mycroft Exp $
--- modules/speller/default/split.cpp.orig 2001-11-30 03:55:48.000000000 +0000
+++ modules/speller/default/split.cpp 2003-09-30 17:23:23.000000000 +0000
@@ -1,4 +1,4 @@
-#include <strstream>
+#include <sstream>
#include "split.hpp"
using namespace std;
@@ -8,7 +8,7 @@
vector<String> split(const String & str) {
vector<String> data;
- istrstream s(str.c_str());
+ istringstream s(str.c_str());
String item;
while (s >> item) {
data.push_back(item);
|