1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/editors/pdfedit/files/patch-src-kernel-cobject2string.cc

12 lines
501 B
C++

--- src/kernel/cobject2string.cc.orig 2010-05-03 19:05:24 UTC
+++ src/kernel/cobject2string.cc
@@ -81,7 +81,7 @@ simpleValueFromString (const std::string
void
simpleValueFromString (const std::string& str, double& val)
{
- shared_ptr<Object> ptrObj (xpdfObjFromString(str), xpdf::object_deleter());
+ boost::shared_ptr<Object> ptrObj (xpdfObjFromString(str), xpdf::object_deleter());
assert (objReal == ptrObj->getType ());
if (objReal != ptrObj->getType() && objInt != ptrObj->getType())