This is an automated email from the ASF dual-hosted git repository. jpeach pushed a commit to branch master in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit 3001e09987890b4c4db37a4c5dec91249aa5d2f9 Author: James Peach <[email protected]> AuthorDate: Thu May 5 20:50:22 2016 -0700 TS-4425: Switch CacheDir.cc over to Ptr::get(). --- iocore/cache/CacheDir.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iocore/cache/CacheDir.cc b/iocore/cache/CacheDir.cc index eb5ab9c..fa279f9 100644 --- a/iocore/cache/CacheDir.cc +++ b/iocore/cache/CacheDir.cc @@ -33,19 +33,19 @@ #define CACHE_INC_DIR_USED(_m) \ do { \ - ProxyMutex *mutex = _m; \ + ProxyMutex *mutex = _m.get(); \ CACHE_INCREMENT_DYN_STAT(cache_direntries_used_stat); \ } while (0) #define CACHE_DEC_DIR_USED(_m) \ do { \ - ProxyMutex *mutex = _m; \ + ProxyMutex *mutex = _m.get(); \ CACHE_DECREMENT_DYN_STAT(cache_direntries_used_stat); \ } while (0) #define CACHE_INC_DIR_COLLISIONS(_m) \ do { \ - ProxyMutex *mutex = _m; \ + ProxyMutex *mutex = _m.get(); \ CACHE_INCREMENT_DYN_STAT(cache_directory_collision_count_stat); \ } while (0); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
