[Aptitude-svn-commit] r3729 - in branches/aptitude-0.3/aptitude: .
src/vscreen
Daniel Burrows
dburrows at costa.debian.org
Mon Aug 8 16:49:19 UTC 2005
Author: dburrows
Date: Mon Aug 8 16:49:16 2005
New Revision: 3729
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.h
Log:
Add a missing const qualifier
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Mon Aug 8 16:49:16 2005
@@ -1,5 +1,10 @@
2005-08-08 Daniel Burrows <dburrows at debian.org>
+ * src/vscreen/vs_editline.h:
+
+ Add missing "const" qualifier to a constructor reference
+ argument.
+
* src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
Further reduce header interdependencies by forward-declaring the
Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.h (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.h Mon Aug 8 16:49:16 2005
@@ -64,7 +64,7 @@
public:
static ref_ptr<vs_editline>
- create(const std::wstring &prompt, std::wstring &text = L"",
+ create(const std::wstring &prompt, const std::wstring &text = L"",
history_list *history = NULL)
{
return new vs_editline(prompt, text, history);
More information about the Aptitude-svn-commit
mailing list