Skip to content

Commit c03a90a

Browse files
committed
Const some more stuff in Url
1 parent b531da3 commit c03a90a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/url.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ class Url
1919
return *this;
2020
}
2121

22-
bool isValid()
22+
bool isValid() const
2323
{
2424
return _valid;
2525
}
2626

27-
operator std::string()
27+
operator std::string() const
2828
{
2929
return toStr();
3030
}
3131

32-
std::string toStr()
32+
std::string toStr() const
3333
{
3434
if(!_valid)
3535
{

0 commit comments

Comments
 (0)