HomePhabricator

LeakDetector: Simplify code and fix comments, NFC

Description

LeakDetector: Simplify code and fix comments, NFC

Rather than requiring overloads in the wrapper and the impl, just
overload the impl and use templates in the wrapper. This makes it less
error prone to add more overloads (void * defeats any chance the
compiler has at noticing bugs, so the easier the better).

At the same time, correct the comment that was lying about not changing
functionality for Value.

Details

Committed
dexonsmithDec 11 2014, 1:23 PM
Parents
rL224057: Fix platform_support.h's get_temp_file_name() on Newlib under __STRICT_ANSI__
Branches
Unknown
Tags
Unknown