summaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/debug/call_stack.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/winapi/debug/call_stack.hpp')
-rw-r--r--include/winapi/debug/call_stack.hpp23
1 files changed, 18 insertions, 5 deletions
diff --git a/include/winapi/debug/call_stack.hpp b/include/winapi/debug/call_stack.hpp
index a9a9d43..caa9226 100644
--- a/include/winapi/debug/call_stack.hpp
+++ b/include/winapi/debug/call_stack.hpp
@@ -38,12 +38,25 @@ public:
void dump(std::ostream& os, const DbgHelp&) const;
- std::size_t length() const { return _length; }
+ std::size_t length() const {
+ return _length;
+ }
- const Address* begin() const { return frames.data(); }
- const Address* cbegin() const { return begin(); }
- const Address* end() const { return begin() + _length; }
- const Address* cend() const { return end(); }
+ const Address* begin() const {
+ return frames.data();
+ }
+
+ const Address* cbegin() const {
+ return begin();
+ }
+
+ const Address* end() const {
+ return begin() + _length;
+ }
+
+ const Address* cend() const {
+ return end();
+ }
private:
CallStack() = default;