summaryrefslogtreecommitdiff
path: root/science/netcdf4/files/patch-netcdfcpp.h
blob: 5d6747ad105b947f47671679525a9029e7a7f2cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- cxx/netcdfcpp.h.orig	Mon Sep 16 16:25:44 2002
+++ cxx/netcdfcpp.h	Mon Sep 16 16:26:23 2002
@@ -154,7 +154,7 @@
     virtual ~NcDim( void );
     
     // to construct dimensions, since constructor is private
-    friend NcFile;
+    friend class NcFile;
 };
 
 
@@ -357,7 +357,7 @@
     void init_cur( void );
 
     // to make variables, since constructor is private
-  friend NcFile;
+  friend class NcFile;
 };
 
 
@@ -388,7 +388,7 @@
     NcAtt( NcFile*, NcToken); // global attribute
     
     // To make attributes, since constructor is private
-  friend NcFile;
+  friend class NcFile;
   friend NcAtt* NcVar::get_att( NcToken ) const;
 };