Ignore:
Timestamp:
06/15/13 17:47:57 (12 years ago)
Author:
epyon
Message:
  • Nova builds with -Weverything/-Wall/-pedantic/etc on: on MSVC 2012 on GCC 4.6.3 on clang 3.2
  • ... without a single fucking warning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lua/lua_state.cc

    r86 r121  
    1515using namespace nv;
    1616
    17 lua::stack_guard::stack_guard( lua::state* L )
    18         : L(L), m_level( lua_gettop(L->L) )
    19 {
    20 
    21 }
    22 
    23 lua::stack_guard::stack_guard( lua::state& L )
    24         : L(&L), m_level( lua_gettop((&L)->L) )
     17lua::stack_guard::stack_guard( lua::state* aL )
     18        : L(aL), m_level( lua_gettop(aL->L) )
     19{
     20
     21}
     22
     23lua::stack_guard::stack_guard( lua::state& aL )
     24        : L(&aL), m_level( lua_gettop(aL.L) )
    2525{
    2626
Note: See TracChangeset for help on using the changeset viewer.