mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add SharedData::ConstAccess
This commit is contained in:
@@ -45,7 +45,7 @@ Journal const& ServerImpl::journal() const
|
||||
|
||||
Ports const& ServerImpl::getPorts () const
|
||||
{
|
||||
SharedState::UnlockedAccess state (m_state);
|
||||
SharedState::ConstUnlockedAccess state (m_state);
|
||||
return state->ports;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user