diff --git a/src/bindings/cxx/eo_cxx/eo_wref.hh b/src/bindings/cxx/eo_cxx/eo_wref.hh
index 048ffcaa0f..e0f9c7bf82 100644
--- a/src/bindings/cxx/eo_cxx/eo_wref.hh
+++ b/src/bindings/cxx/eo_cxx/eo_wref.hh
@@ -79,7 +79,7 @@ struct wref
/// strong reference to the EO Object. Otherwise it returns
/// an empty eina::optional.
///
- eina::optional lock()
+ eina::optional lock() const
{
if(_eo_wref) // XXX eo_ref() should work on multi-threaded environments
{