]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_cdsa_utilities/lib/walkers.h
Security-58286.41.2.tar.gz
[apple/security.git] / OSX / libsecurity_cdsa_utilities / lib / walkers.h
index b8fcb598077e14d81739256c6d095fc50d4db61a..4ea7884e05c0ffa7345ef49644fca97371ecd59d 100644 (file)
@@ -56,7 +56,7 @@ namespace DataWalkers {
 
 
 #if WALKERDEBUG
-# define DEBUGWALK(who)        secdebug("walkers", "walk " who " %s@%p (%ld)", \
+# define DEBUGWALK(who)        secinfo("walkers", "walk " who " %s@%p (%ld)", \
                                                                        Debug::typeName(addr).c_str(), addr, size)
 #else
 # define DEBUGWALK(who)        /* nothing */
@@ -316,7 +316,7 @@ void chunkFree(T *obj, Allocator &alloc = Allocator::standard())
 }
 
 template <class T>
-void chunkFree(const T &obj, Allocator &alloc = Allocator::standard())
+void chunkFree(T &obj, Allocator &alloc = Allocator::standard())
 {
        ChunkFreeWalker w(alloc);
        walk(w, obj);