[Aptitude-svn-commit] r3788 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows at costa.debian.org
Tue Aug 9 19:43:14 UTC 2005


Author: dburrows
Date: Tue Aug  9 19:43:12 2005
New Revision: 3788

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h
Log:
Further fix vs_staticitem.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Aug  9 19:43:12 2005
@@ -1,5 +1,10 @@
 2005-08-09  Daniel Burrows  <dburrows at debian.org>
 
+	* src/vscreen/vs_staticitem.h:
+
+	  Further adjustment to vs_staticitem: tag() and label()
+	  should be non-const now.
+
 	* src/vscreen/vs_staticitem.cc, src/vscreen/vs_staticitem.h:
 
 	  Make vs_staticitem a concrete class.

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h	Tue Aug  9 19:43:12 2005
@@ -31,8 +31,8 @@
   vs_staticitem(std::wstring _name, std::wstring _value)
     :vs_treeitem(false),name(_name),value(_value) {}
   void paint(vs_tree *win, int y, bool hierarchical, const style &st);
-  const wchar_t *tag() const {return value.c_str();}
-  const wchar_t *label() const {return value.c_str();}
+  const wchar_t *tag() {return value.c_str();}
+  const wchar_t *label() {return value.c_str();}
 };
 
 #endif



More information about the Aptitude-svn-commit mailing list