diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-12 22:59:04 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-12 22:59:04 +0200 |
| commit | eba873815bbb803fb298e3fb07502d22e3c5df6e (patch) | |
| tree | 47794c27c6a4c1245b6ae14024dcf0f068605209 /include/winapi/debug/call_stack.hpp | |
| parent | cmake: use CONFIGURE_DEPENDS (diff) | |
| download | winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.tar.gz winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.zip | |
unify my .clang-format files
Diffstat (limited to '')
| -rw-r--r-- | include/winapi/debug/call_stack.hpp | 23 |
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; |
