blob: c46f71eee8399645db66ae2e65417d93a1f73cbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-bg,v 1.2 2012/04/17 20:08:06 bsiegert Exp $
For some reason, sunpro requires a syntactically equal definition.
--- src/FbTk/StringUtil.cc.orig Sat Oct 29 13:45:51 2011
+++ src/FbTk/StringUtil.cc
@@ -247,7 +247,7 @@ string replaceString(const string &origi
for the position + 1 in the in-string where the "last"-char value
was found.
*/
-int getStringBetween(string& out, const char *instr, char first, char last,
+int getStringBetween(std::string& out, const char *instr, char first, char last,
const char *ok_chars, bool allow_nesting) {
assert(first);
assert(last);
|