[glibmm/glibmm-2-50] Revert "ustring: Add cbegin() and cend()."
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-50] Revert "ustring: Add cbegin() and cend()."
- Date: Tue, 4 Apr 2017 18:10:09 +0000 (UTC)
commit f4c232fe4bbf28e4ec66b34d0ff8c7a49df2df80
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Apr 4 18:54:33 2017 +0200
Revert "ustring: Add cbegin() and cend()."
This reverts commit 1cce397af6d1c9dd588d4a16e2b33933bb30d2ea.
We should not add API in a stable release cycle.
glib/glibmm/ustring.cc | 12 ------------
glib/glibmm/ustring.h | 10 ----------
2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/glib/glibmm/ustring.cc b/glib/glibmm/ustring.cc
index eae9802..15ab009 100644
--- a/glib/glibmm/ustring.cc
+++ b/glib/glibmm/ustring.cc
@@ -841,18 +841,6 @@ ustring::rend() const
return const_reverse_iterator(const_iterator(string_.begin()));
}
-ustring::const_iterator
-ustring::cbegin() const
-{
- return const_iterator(string_.begin());
-}
-
-ustring::const_iterator
-ustring::cend() const
-{
- return const_iterator(string_.end());
-}
-
/**** Glib::ustring::find() ************************************************/
ustring::size_type
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h
index fe45c1a..8e8a546 100644
--- a/glib/glibmm/ustring.h
+++ b/glib/glibmm/ustring.h
@@ -469,16 +469,6 @@ public:
const_reverse_iterator rbegin() const;
const_reverse_iterator rend() const;
- /**
- * @newin{2,52}
- */
- const_iterator cbegin() const;
-
- /**
- * @newin{2,52}
- */
- const_iterator cend() const;
-
//! @}
//! @name Find sub-strings.
//! @{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]