diff options
Diffstat (limited to 'tools/minicargo/helpers.h')
-rw-r--r-- | tools/minicargo/helpers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/minicargo/helpers.h b/tools/minicargo/helpers.h index 9f97b5bb..8111483a 100644 --- a/tools/minicargo/helpers.h +++ b/tools/minicargo/helpers.h @@ -40,6 +40,13 @@ public: os.write(sv.m_start, sv.m_len); return os; } + + const char* begin() const { + return m_start; + } + const char* end() const { + return m_start+m_len; + } }; |