aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/pdb/address.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/pdb/address.hpp35
1 files changed, 17 insertions, 18 deletions
diff --git a/include/pdb/address.hpp b/include/pdb/address.hpp
index 4a62249..ea3b79d 100644
--- a/include/pdb/address.hpp
+++ b/include/pdb/address.hpp
@@ -10,22 +10,21 @@
#include <sstream>
#include <string>
-namespace pdb
-{
- typedef DWORD64 Address;
-
- inline std::string format_address(Address address)
- {
- std::ostringstream oss;
- oss << std::hex << std::showbase << address;
- return oss.str();
- }
-
- inline bool parse_address(Address& dest, const std::string& src)
- {
- std::istringstream iss{src};
- iss >> std::hex;
- char c;
- return iss >> dest && !iss.get(c);
- }
+namespace pdb {
+
+typedef DWORD64 Address;
+
+inline std::string format_address(Address address) {
+ std::ostringstream oss;
+ oss << std::hex << std::showbase << address;
+ return oss.str();
}
+
+inline bool parse_address(Address& dest, const std::string& src) {
+ std::istringstream iss{src};
+ iss >> std::hex;
+ char c;
+ return iss >> dest && !iss.get(c);
+}
+
+} // namespace pdb