aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-17 13:59:58 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-17 13:59:58 -0700
commit21fb6d074180b698f23399cd6f0b7d5f8a03db4f (patch)
treee9a978124fc608724eaef70d763ee81dd664c3bc /toolsrc/include
parent1a65c26a3fa5240625f138aca80c288b75cb21d8 (diff)
downloadvcpkg-21fb6d074180b698f23399cd6f0b7d5f8a03db4f.tar.gz
vcpkg-21fb6d074180b698f23399cd6f0b7d5f8a03db4f.zip
Add SortedVector.cbegin() and .cend()
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/SortedVector.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolsrc/include/SortedVector.h b/toolsrc/include/SortedVector.h
index 67e307409..2dce8eb3b 100644
--- a/toolsrc/include/SortedVector.h
+++ b/toolsrc/include/SortedVector.h
@@ -42,6 +42,16 @@ namespace vcpkg
return this->m_data.cend();
}
+ iterator cbegin() const
+ {
+ return this->m_data.cbegin();
+ }
+
+ iterator cend() const
+ {
+ return this->m_data.cend();
+ }
+
bool empty() const
{
return this->m_data.empty();