fix Ticket #272 (synchronisation from const methods)
This commit is contained in:
parent
517fb8b200
commit
373f9a5724
1 changed files with 2 additions and 2 deletions
|
|
@ -387,10 +387,10 @@ namespace lib {
|
|||
class Sync
|
||||
{
|
||||
typedef sync::Monitor<CONF> Monitor;
|
||||
Monitor objectMonitor_;
|
||||
mutable Monitor objectMonitor_;
|
||||
|
||||
static Monitor&
|
||||
getMonitor(Sync* forThis)
|
||||
getMonitor(const Sync* forThis)
|
||||
{
|
||||
REQUIRE (forThis);
|
||||
return forThis->objectMonitor_;
|
||||
|
|
|
|||
Loading…
Reference in a new issue