Reference count struct dictionary.
[pspp] / src / data / spreadsheet-reader.h
index 6b026b01cdae791365d6af3a3629e63f69f05244..efba6f369fbf3577511aa01f422c64d241893db4 100644 (file)
@@ -69,8 +69,8 @@ struct spreadsheet
   int n_sheets;
 
   /* The dictionary for client's reference.
-     Client must clone if it needs a permanent or modifiable copy. */
-  const struct dictionary *dict;
+     Client must ref or clone it if it needs a permanent or modifiable copy. */
+  struct dictionary *dict;
 
   int ref_cnt;
 };