diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-27 00:11:09 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-27 00:11:09 +0300 |
commit | 304d00e5226a64707ec7ab74c06fd35a96e55389 (patch) | |
tree | 367139d67b3841a2a968c71766d1a81f7bf0451e /cxx/include/aesnixx/debug.hpp | |
parent | utils: fix usage messages (diff) | |
download | aes-tools-304d00e5226a64707ec7ab74c06fd35a96e55389.tar.gz aes-tools-304d00e5226a64707ec7ab74c06fd35a96e55389.zip |
code style
Diffstat (limited to 'cxx/include/aesnixx/debug.hpp')
-rw-r--r-- | cxx/include/aesnixx/debug.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cxx/include/aesnixx/debug.hpp b/cxx/include/aesnixx/debug.hpp index bb21f74..6c92a95 100644 --- a/cxx/include/aesnixx/debug.hpp +++ b/cxx/include/aesnixx/debug.hpp @@ -32,14 +32,14 @@ namespace aesni CallStackFormatter() { #ifdef WIN32 - m_valid = SymInitialize(GetCurrentProcess(), NULL, TRUE) ? true : false; + valid_flag = SymInitialize(GetCurrentProcess(), NULL, TRUE) ? true : false; #endif } std::string format(void* addr) const { #ifdef WIN32 - if (!m_valid) + if (!valid_flag) return format_fallback(addr); DWORD64 symbol_info_buf[sizeof(SYMBOL_INFO) + MAX_SYM_NAME]; @@ -73,7 +73,7 @@ namespace aesni ~CallStackFormatter() { #ifdef WIN32 - if (m_valid) + if (valid_flag) SymCleanup(GetCurrentProcess()); #endif } @@ -119,7 +119,7 @@ namespace aesni } #ifdef WIN32 - bool m_valid = false; + bool valid_flag = false; #endif }; } |