From af35bb637146622dc43416a5f2e801b1efaf6953 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 1 Nov 2015 12:58:16 +0100 Subject: [PATCH] Make Theme::register_class() private. --- theme.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theme.h b/theme.h index 80b01ba..4915263 100644 --- a/theme.h +++ b/theme.h @@ -26,7 +26,6 @@ public: class Theme { public: Theme(const char *filename, movit::ResourcePool *resource_pool); - void register_class(const char *class_name, const luaL_Reg *funcs); std::pair> get_chain(unsigned num, float t, unsigned width, unsigned height); @@ -44,6 +43,8 @@ public: void channel_clicked(int preview_num); private: + void register_class(const char *class_name, const luaL_Reg *funcs); + std::mutex m; lua_State *L; movit::ResourcePool *resource_pool; -- 2.39.2