diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-09-14 13:54:32 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-09-15 14:32:26 -0700 |
commit | 74594b897097b6dc61b7525b4389e15be5771dad (patch) | |
tree | 1cf631b1014e7a6cc8be5ce379c9f2120aaaa16b /src/inventory.h | |
parent | 0d6c98b33612b548b400e2bd396933936327f6de (diff) | |
download | mana-74594b897097b6dc61b7525b4389e15be5771dad.tar.gz mana-74594b897097b6dc61b7525b4389e15be5771dad.tar.bz2 mana-74594b897097b6dc61b7525b4389e15be5771dad.tar.xz mana-74594b897097b6dc61b7525b4389e15be5771dad.zip |
Prevent copying of MutexLocker
There was a bug here, which wouldn't surface if the copy was elided.
Fixed by using a move constructor.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/inventory.h')
0 files changed, 0 insertions, 0 deletions