Update laf library (MEMLEAK is LAF_MEMLEAK now)

This commit is contained in:
David Capello 2016-11-02 16:14:01 -03:00
parent ce6c85996e
commit 40000a7e77
3 changed files with 3 additions and 3 deletions

View File

@ -435,7 +435,7 @@ add_subdirectory(third_party)
include_directories(src)
add_definitions(-DHAVE_CONFIG_H)
if(ENABLE_MEMLEAK)
add_definitions(-DMEMLEAK)
add_definitions(-DLAF_MEMLEAK)
endif()
set(LAF_WITH_TESTS ${ENABLE_TESTS} CACHE BOOL "Enable LAF tests")

2
laf

@ -1 +1 @@
Subproject commit 88dd1683c05e6da7d8bea781a0e6ef32d28f8b94
Subproject commit 11274341a6390f9dda085256f98567156aa21cc9

View File

@ -35,7 +35,7 @@ namespace {
// Memory leak detector wrapper
class MemLeak {
public:
#ifdef MEMLEAK
#ifdef LAF_MEMLEAK
MemLeak() { base_memleak_init(); }
~MemLeak() { base_memleak_exit(); }
#else