openbsd-ports/math/netcdf/patches/patch-src_cxx_netcdfcpp_h
sturm df1ebdb359 - update to netcdf 3.5.0
- cleanup
- pull in patches from netcdf-current to build with gcc3
2004-02-01 12:22:05 +00:00

31 lines
846 B
Plaintext

$OpenBSD: patch-src_cxx_netcdfcpp_h,v 1.1 2004/02/01 12:22:06 sturm Exp $
--- src/cxx/netcdfcpp.h.orig 2004-02-01 11:41:02.000000000 +0100
+++ src/cxx/netcdfcpp.h 2004-02-01 11:41:35.000000000 +0100
@@ -154,7 +154,7 @@ class NcDim
virtual ~NcDim( void );
// to construct dimensions, since constructor is private
- friend NcFile;
+ friend class NcFile;
};
@@ -357,7 +357,7 @@ class NcVar : public NcTypedComponent
void init_cur( void );
// to make variables, since constructor is private
- friend NcFile;
+ friend class NcFile;
};
@@ -388,7 +388,7 @@ class NcAtt : public NcTypedComponent
NcAtt( NcFile*, NcToken); // global attribute
// To make attributes, since constructor is private
- friend NcFile;
+ friend class NcFile;
friend NcAtt* NcVar::get_att( NcToken ) const;
};