mirror of
https://github.com/oatpp/oatpp.git
synced 2025-03-31 18:30:22 +08:00
web::url::mapping::Rounter::Route has const methods only
This commit is contained in:
parent
0ed9ab205a
commit
a0f1ca01ef
@ -84,14 +84,14 @@ public:
|
||||
/**
|
||||
* Get Endpoint.
|
||||
*/
|
||||
const Endpoint& getEndpoint() {
|
||||
const Endpoint& getEndpoint() const {
|
||||
return m_endpoint;
|
||||
}
|
||||
|
||||
/**
|
||||
* Match map of resolved path containing resolved path variables.
|
||||
*/
|
||||
const Pattern::MatchMap& getMatchMap() {
|
||||
const Pattern::MatchMap& getMatchMap() const {
|
||||
return m_matchMap;
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ public:
|
||||
* Check if route is valid.
|
||||
* @return
|
||||
*/
|
||||
bool isValid() {
|
||||
bool isValid() const {
|
||||
return m_valid;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user