diff options
author | joerg <joerg> | 2013-05-04 12:46:01 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-05-04 12:46:01 +0000 |
commit | 07a8255f11c53e3cf0a7829a2375d5bb4723f1df (patch) | |
tree | 8c60ac96ec660c762ce39f81c5636cb3c4331f88 /graphics/extrema/patches | |
parent | 0fd5dff7514c4187d3758172ae5a37d192d0c518 (diff) | |
download | pkgsrc-07a8255f11c53e3cf0a7829a2375d5bb4723f1df.tar.gz |
Do not declare key arguments const, if the arguments are supposed to be
copy constructable.
Diffstat (limited to 'graphics/extrema/patches')
3 files changed, 39 insertions, 0 deletions
diff --git a/graphics/extrema/patches/patch-src_Expression_Expression.h b/graphics/extrema/patches/patch-src_Expression_Expression.h new file mode 100644 index 00000000000..227c97cf9f4 --- /dev/null +++ b/graphics/extrema/patches/patch-src_Expression_Expression.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_Expression_Expression.h,v 1.1 2013/05/04 12:46:01 joerg Exp $ + +--- src/Expression/Expression.h.orig 2013-05-03 20:24:01.000000000 +0000 ++++ src/Expression/Expression.h +@@ -37,7 +37,7 @@ class Workspace; + class Expression + { + private: +- typedef std::multimap< int const, Workspace* > WSLevel; ++ typedef std::multimap< int, Workspace* > WSLevel; + typedef WSLevel::value_type WSEntryType; + typedef std::pair< WSLevel::const_iterator, WSLevel::const_iterator > WSLevelPair; + typedef std::pair< int const, Workspace* > WSLevelValuePair; 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 diff --git a/graphics/extrema/patches/patch-src_Variables_TVariableTable.h b/graphics/extrema/patches/patch-src_Variables_TVariableTable.h new file mode 100644 index 00000000000..c5a52f8e190 --- /dev/null +++ b/graphics/extrema/patches/patch-src_Variables_TVariableTable.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_Variables_TVariableTable.h,v 1.1 2013/05/04 12:46:01 joerg Exp $ + +--- src/Variables/TVariableTable.h.orig 2013-05-03 20:09:16.000000000 +0000 ++++ src/Variables/TVariableTable.h +@@ -27,7 +27,7 @@ class TextVariable; + class TVariableTable + { + private: +- typedef std::map< wxString const, TextVariable* > TVariableMap; ++ typedef std::map< wxString, TextVariable* > TVariableMap; + typedef TVariableMap::value_type entry_type; + + // TVariableTable is the table of pointers to TextVariables |