mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
Merge pull request #3052 from jabaa/devel
Fix constness of URI::getPathSegments
This commit is contained in:
commit
013c867615
@ -287,7 +287,7 @@ public:
|
|||||||
/// such as in a Windows path containing a drive letter, a dot segment (./)
|
/// such as in a Windows path containing a drive letter, a dot segment (./)
|
||||||
/// is prepended in accordance with section 3.3 of RFC 3986.
|
/// is prepended in accordance with section 3.3 of RFC 3986.
|
||||||
|
|
||||||
void getPathSegments(std::vector<std::string>& segments);
|
void getPathSegments(std::vector<std::string>& segments) const;
|
||||||
/// Places the single path segments (delimited by slashes) into the
|
/// Places the single path segments (delimited by slashes) into the
|
||||||
/// given vector.
|
/// given vector.
|
||||||
|
|
||||||
|
@ -615,7 +615,7 @@ void URI::removeDotSegments(bool removeLeading)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void URI::getPathSegments(std::vector<std::string>& segments)
|
void URI::getPathSegments(std::vector<std::string>& segments) const
|
||||||
{
|
{
|
||||||
getPathSegments(_path, segments);
|
getPathSegments(_path, segments);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user