summaryrefslogtreecommitdiff
path: root/ACE/ace/Service_Repository.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2016-02-25 08:32:59 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2016-02-25 08:32:59 +0100
commitb3ef468bef0e07f0a8a7b9e7c6bac906dda88f8d (patch)
treea1bd9141a89d0b062363c0219e8f272934fdef75 /ACE/ace/Service_Repository.inl
parenteee112e74fd2f2f7a0667248661afc3161dbc1f3 (diff)
downloadATCD-b3ef468bef0e07f0a8a7b9e7c6bac906dda88f8d.tar.gz
Make the lock accessor const to prevent a const cast in user code
* ACE/ace/Service_Repository.h: * ACE/ace/Service_Repository.inl:
Diffstat (limited to 'ACE/ace/Service_Repository.inl')
-rw-r--r--ACE/ace/Service_Repository.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Service_Repository.inl b/ACE/ace/Service_Repository.inl
index 27a8d5c7ec8..9cbd388215e 100644
--- a/ACE/ace/Service_Repository.inl
+++ b/ACE/ace/Service_Repository.inl
@@ -20,7 +20,7 @@ ACE_Service_Repository::current_size (void) const
}
ACE_INLINE ACE_SYNCH_RECURSIVE_MUTEX&
-ACE_Service_Repository::lock (void)
+ACE_Service_Repository::lock (void) const
{
return this->lock_;
}