Revision: 7479
http://winmerge.svn.sourceforge.net/winmerge/?rev=7479&view=rev
Author: gerundt
Date: 2010-12-27 15:19:06 +0000 (Mon, 27 Dec 2010)
Log Message:
-----------
Make UniError::GetError() a const method.
Modified Paths:
--------------
branches/R2_14/Src/Common/UniFile.cpp
branches/R2_14/Src/Common/UniFile.h
Modified: branches/R2_14/Src/Common/UniFile.cpp
===================================================================
--- branches/R2_14/Src/Common/UniFile.cpp 2010-12-25 22:26:00 UTC (rev 7478)
+++ branches/R2_14/Src/Common/UniFile.cpp 2010-12-27 15:19:06 UTC (rev 7479)
@@ -78,7 +78,7 @@
* @brief Get the error string.
* @return Error string.
*/
-String UniFile::UniError::GetError()
+String UniFile::UniError::GetError() const
{
String sError;
if (apiname.empty())
Modified: branches/R2_14/Src/Common/UniFile.h
===================================================================
--- branches/R2_14/Src/Common/UniFile.h 2010-12-25 22:26:00 UTC (rev 7478)
+++ branches/R2_14/Src/Common/UniFile.h 2010-12-27 15:19:06 UTC (rev 7479)
@@ -33,7 +33,7 @@
UniError();
bool HasError() const;
void ClearError();
- String GetError();
+ String GetError() const;
};
virtual ~UniFile() { }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|