cxx: Mark wref::lock as const
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 2 Nov 2017 08:59:17 +0000 (17:59 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 7 Nov 2017 00:57:24 +0000 (09:57 +0900)
commit88e10da36b00291b399c2d9bfe5f266a44a40f6f
treeadcf75498d6ee5f398245fc673a391b1e8f1e111
parent8c991b104ce23152eeab7132bee3c3ae78fef4c4
cxx: Mark wref::lock as const

This allows passing in wref to a lambda.
If we passed normal refs, we would end up with dangling references and
many ERR messages.
src/bindings/cxx/eo_cxx/eo_wref.hh