cxx: Fix one conversion to Eina_Value
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 28 Nov 2017 12:17:32 +0000 (21:17 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 5 Dec 2017 06:01:45 +0000 (15:01 +0900)
src/bindings/cxx/eo_cxx/eo_cxx_interop.hh

index ffc486e..a83688a 100644 (file)
@@ -427,6 +427,10 @@ inline Eina_Value const& convert_to_c_impl( ::efl::eina::value_view const& v, ta
 {
   return *v.native_handle();
 }
+inline const Eina_Value convert_to_c_impl( ::efl::eina::value_view const& v, tag<const Eina_Value, in_traits<eina::value_view const&>::type>)
+{
+  return *v.native_handle();
+}
 inline Eina_Bool convert_to_c_impl( bool b, tag<Eina_Bool, bool>)
 {
   return b;