From dd0dcd6d59c8e364b20354458ca87484b6acf212 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 24 Jan 2022 06:50:52 +0100 Subject: [PATCH] timepos_t modulo operator is defined but not implemented --- libs/ardour/luabindings.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index ea63ec6a31..c1ead0dc4a 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -584,7 +584,7 @@ LuaBindings::common (lua_State* L) .beginClass ("timepos_t") .addConstructor () .addOperator ("__add", CPPOPERATOR(Temporal::timepos_t, +)) - .addOperator ("__mod", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::timecnt_t, %)) + //.addOperator ("__mod", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::timecnt_t, %)) .addOperator ("__mul", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::ratio_t , *)) .addOperator ("__div", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::ratio_t , /)) .addOperator ("__lt", CPPCOMPERATOR(Temporal::timepos_t, <))