From d659724e48ce4a703a99b3414b97d582da7cd173 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sun, 20 Apr 2025 16:22:34 +0200 Subject: Fixed private access in unit arithmetics --- modules/codec-unit/c++/unit.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/codec-unit/c++/unit.hpp') diff --git a/modules/codec-unit/c++/unit.hpp b/modules/codec-unit/c++/unit.hpp index 0e7bf74..227fdf2 100644 --- a/modules/codec-unit/c++/unit.hpp +++ b/modules/codec-unit/c++/unit.hpp @@ -29,6 +29,13 @@ public: template data::Schema, encode::Native> operator/(const data& rhs) const; + + /** + * Mostly for multiplication and division operator use + */ + const data& handle() const { + return dat_; + } }; } -- cgit v1.2.3