From 0f99ff0bca3a0b5fe959831b6058d49d153d9d77 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 24 Jan 2021 09:08:29 -0600 Subject: [PATCH] Two more formatting fixes. --- src/data-source.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data-source.hh b/src/data-source.hh index fc79ab32..cdc6a739 100644 --- a/src/data-source.hh +++ b/src/data-source.hh @@ -101,7 +101,7 @@ template class register_data_source { template static int factory(lua::state *l, const std::string &name, - const Args &... args) { + const Args &...args) { T *t = static_cast(l->newuserdata(sizeof(T))); l->insert(1); new (t) T(l, name, args...); @@ -113,7 +113,7 @@ class register_data_source { public: template - explicit register_data_source(const std::string &name, Args &&... args) { + explicit register_data_source(const std::string &name, Args &&...args) { priv::do_register_data_source( name, std::bind(&factory, std::placeholders::_1, name, args...));