summaryrefslogtreecommitdiff
path: root/graphics/extrema/patches/patch-src_Variables_NVariableTable.h
diff options
context:
space:
mode:
authorjoerg <joerg>2013-05-04 12:46:01 +0000
committerjoerg <joerg>2013-05-04 12:46:01 +0000
commit07a8255f11c53e3cf0a7829a2375d5bb4723f1df (patch)
tree8c60ac96ec660c762ce39f81c5636cb3c4331f88 /graphics/extrema/patches/patch-src_Variables_NVariableTable.h
parent0fd5dff7514c4187d3758172ae5a37d192d0c518 (diff)
downloadpkgsrc-07a8255f11c53e3cf0a7829a2375d5bb4723f1df.tar.gz
Do not declare key arguments const, if the arguments are supposed to be
copy constructable.
Diffstat (limited to 'graphics/extrema/patches/patch-src_Variables_NVariableTable.h')
-rw-r--r--graphics/extrema/patches/patch-src_Variables_NVariableTable.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/extrema/patches/patch-src_Variables_NVariableTable.h b/graphics/extrema/patches/patch-src_Variables_NVariableTable.h
new file mode 100644
index 00000000000..8b9189237ca
--- /dev/null
+++ b/graphics/extrema/patches/patch-src_Variables_NVariableTable.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Variables_NVariableTable.h,v 1.1 2013/05/04 12:46:01 joerg Exp $
+
+--- src/Variables/NVariableTable.h.orig 2013-05-03 20:13:43.000000000 +0000
++++ src/Variables/NVariableTable.h
+@@ -28,7 +28,7 @@ class NumericVariable;
+ class NVariableTable
+ {
+ private:
+- typedef std::map<wxString const,NumericVariable*> NVariableMap;
++ typedef std::map<wxString, NumericVariable*> NVariableMap;
+ typedef NVariableMap::value_type entry_type;
+
+ // NVariableTable is the table of pointers to NumericVariables