summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <kleint@bifab.de>2005-06-04 12:00:13 +0000
committerMurray Cumming <murrayc@src.gnome.org>2005-06-04 12:00:13 +0000
commit5ec5f725810a2b04132b71c30fa7d0c0445bf479 (patch)
tree4e444885cd88b897296964bb87ebfbbec8575649
parentb0356abd5383451080286cd75b135858d38be653 (diff)
downloadsigc++-5ec5f725810a2b04132b71c30fa7d0c0445bf479.tar.gz
visit_each() template specializations: Mention the bool
2005-06-04 Friedemann Kleint <kleint@bifab.de> * sigc++/macros/limit_reference.h.m4: visit_each() template specializations: Mention the bool I_derives_trackable template type, to fix the build on Solaris Forte 5.5.
-rw-r--r--ChangeLog8
-rw-r--r--sigc++/macros/limit_reference.h.m44
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fb0b4b..7967cbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-06-04 Friedemann Kleint <kleint@bifab.de>
+
+ * sigc++/macros/limit_reference.h.m4:
+ visit_each() template specializations:
+ Mention the bool I_derives_trackable
+ template type, to fix the build on Solaris
+ Forte 5.5.
+
2.0.12:
2005-05-06 RĂ©gis Duchesne <hpreg@vmware.com>
diff --git a/sigc++/macros/limit_reference.h.m4 b/sigc++/macros/limit_reference.h.m4
index 5803194..c40acc2 100644
--- a/sigc++/macros/limit_reference.h.m4
+++ b/sigc++/macros/limit_reference.h.m4
@@ -120,10 +120,10 @@ private:
* @param _A_action The functor to invoke.
* @param _A_argument The visited instance.
*/
-template <class T_action, class T_type>
+template <class T_action, class T_type, bool I_derives_trackable>
void
visit_each(const T_action& _A_action,
- const [$1]limit_reference<T_type>& _A_target)
+ const [$1]limit_reference<T_type, I_derives_trackable>& _A_target)
{
visit_each(_A_action, _A_target.visit());
}