openbsd-ports/devel/ddd/patches/patch-ddd_strclass_h
2004-02-09 11:59:28 +00:00

13 lines
456 B
Plaintext

$OpenBSD: patch-ddd_strclass_h,v 1.2 2004/02/09 11:59:28 espie Exp $
--- ddd/strclass.h.orig 2004-02-09 04:37:13.000000000 +0100
+++ ddd/strclass.h 2004-02-09 12:51:03.000000000 +0100
@@ -1140,7 +1140,7 @@ inline gnu_string& gnu_string::operator
{
assert(!consuming());
- const std::gnu_string str( os.str() );
+ const std::string str( os.str() );
rep = string_Salloc(rep, str.c_str(), str.length(), str.length());
return *this;