freebsd-ports/devel/liblas12/files/patch-src_las__c__api.cpp
Luca Pizzamiglio 575199eaf6 devel/liblas12: Fix build error on CURRENT
PR:		222424
Submitted by:	rhurlin@gwdg.de (maintainer)
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12786
2017-11-03 15:27:25 +00:00

20 lines
721 B
C++

--- src/las_c_api.cpp.orig 2009-10-02 17:48:41 UTC
+++ src/las_c_api.cpp
@@ -745,7 +745,7 @@ LAS_DLL LASErrorEnum LASHeader_SetProjectId(LASHeaderH
try {
liblas::guid id;
- id = liblas::guid::guid(value);
+ id = liblas::guid(value);
((LASHeader*) hHeader)->SetProjectId(id);
} catch (std::exception const& e)
{
@@ -1542,7 +1542,7 @@ LAS_DLL LASGuidH LASGuid_CreateFromString(const char*
VALIDATE_LAS_POINTER1(string, "LASGuid_CreateFromString", NULL);
liblas::guid id;
try {
- id = liblas::guid::guid(string);
+ id = liblas::guid(string);
return (LASGuidH) new liblas::guid(id);
}
catch (std::exception const& e) {