Mark `URI::archive()` const.
This commit is contained in:
parent
ff7b6338a0
commit
0a1396fc25
|
@ -101,7 +101,7 @@ public:
|
||||||
*
|
*
|
||||||
* @since 0.6.0
|
* @since 0.6.0
|
||||||
*/
|
*/
|
||||||
archive_answer archive();
|
archive_answer archive() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
string _uri;
|
string _uri;
|
||||||
|
|
|
@ -617,7 +617,7 @@ string URI::unescape_html(string html)
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
|
||||||
archive_answer URI::archive()
|
archive_answer URI::archive() const
|
||||||
{
|
{
|
||||||
if (_uri.substr(0, 4) != "http")
|
if (_uri.substr(0, 4) != "http")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue