Skip to content

Commit 945a800

Browse files
committed
Add _t suffix to lua_wrapper_base class
1 parent 3a12fb3 commit 945a800

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/flex-lua-expire-output.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ int setup_flex_expire_output(lua_State *lua_state,
2525
std::string const &default_schema,
2626
std::vector<expire_output_t> *expire_outputs);
2727

28-
class lua_wrapper_expire_output : public lua_wrapper_base<expire_output_t>
28+
class lua_wrapper_expire_output : public lua_wrapper_base_t<expire_output_t>
2929
{
3030
public:
3131
static void init(lua_State *lua_state);
3232

3333
lua_wrapper_expire_output(lua_State *lua_state,
3434
expire_output_t *expire_output)
35-
: lua_wrapper_base(lua_state, expire_output)
35+
: lua_wrapper_base_t(lua_state, expire_output)
3636
{
3737
}
3838

src/flex-lua-locator.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ static char const *const OSM2PGSQL_LOCATOR_CLASS = "osm2pgsql.Locator";
2727

2828
int setup_flex_locator(lua_State *lua_state, std::vector<locator_t> *locators);
2929

30-
class lua_wrapper_locator : public lua_wrapper_base<locator_t>
30+
class lua_wrapper_locator : public lua_wrapper_base_t<locator_t>
3131
{
3232
public:
3333
static void init(lua_State *lua_state,
3434
connection_params_t const &connection_params);
3535

3636
lua_wrapper_locator(lua_State *lua_state, locator_t *locator)
37-
: lua_wrapper_base(lua_state, locator)
37+
: lua_wrapper_base_t(lua_state, locator)
3838
{
3939
}
4040

src/flex-lua-table.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ int setup_flex_table(lua_State *lua_state, std::vector<flex_table_t> *tables,
2626
std::string const &default_schema, bool updatable,
2727
bool append_mode);
2828

29-
class lua_wrapper_table : public lua_wrapper_base<flex_table_t>
29+
class lua_wrapper_table : public lua_wrapper_base_t<flex_table_t>
3030
{
3131
public:
3232
static void init(lua_State *lua_state);
3333

3434
lua_wrapper_table(lua_State *lua_state, flex_table_t *table)
35-
: lua_wrapper_base(lua_state, table)
35+
: lua_wrapper_base_t(lua_state, table)
3636
{
3737
}
3838

src/flex-lua-wrapper.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ struct lua_State;
3939
* Helper class for wrapping C++ classes in Lua "classes".
4040
*/
4141
template <typename WRAPPED>
42-
class lua_wrapper_base
42+
class lua_wrapper_base_t
4343
{
4444
public:
45-
lua_wrapper_base(lua_State *lua_state, WRAPPED *wrapped)
45+
lua_wrapper_base_t(lua_State *lua_state, WRAPPED *wrapped)
4646
: m_lua_state(lua_state), m_self(wrapped)
4747
{
4848
assert(lua_state);
@@ -59,6 +59,6 @@ class lua_wrapper_base
5959
lua_State *m_lua_state;
6060
WRAPPED *m_self;
6161

62-
}; // class lua_wrapper_base;
62+
}; // class lua_wrapper_base_t
6363

6464
#endif // OSM2PGSQL_FLEX_LUA_WRAPPER_HPP

0 commit comments

Comments
 (0)