ports/devel/ddd/patches/patch-ddd_VSLDefList_C

15 lines
426 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
No default conversion from std::ostringstream to char *.
Index: ddd/VSLDefList.C
--- ddd/VSLDefList.C.orig
+++ ddd/VSLDefList.C
@@ -60,7 +60,7 @@ const Box *VSLDefList::eval(Box *arg) const
{
std::ostringstream s;
s << *arg;
- VSLLib::eval_error("no suiting definition for " + f_name() + s);
+ VSLLib::eval_error("no suiting definition for " + f_name() + s.str().c_str());
}
return d ? d->eval(arg) : 0;