aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/StatusParagraphs.h
diff options
context:
space:
mode:
authorThomas Fussell <thomas.fussell@gmail.com>2017-03-12 17:44:06 -0400
committerThomas Fussell <thomas.fussell@gmail.com>2017-03-12 17:44:06 -0400
commit2f42035ab43dd50cd863b51944aa099a99ae60f0 (patch)
tree4b6cfd43955e946721c58028fd8564c861d5c331 /toolsrc/include/StatusParagraphs.h
parente02e85626f3206feda86a6f5757009005e0cfe3e (diff)
parent1c9873a0daf625f67474aaf3e163c592c27ecb65 (diff)
downloadvcpkg-2f42035ab43dd50cd863b51944aa099a99ae60f0.tar.gz
vcpkg-2f42035ab43dd50cd863b51944aa099a99ae60f0.zip
Merge branch 'master' of git://github.com/Microsoft/vcpkg
Diffstat (limited to 'toolsrc/include/StatusParagraphs.h')
-rw-r--r--toolsrc/include/StatusParagraphs.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/toolsrc/include/StatusParagraphs.h b/toolsrc/include/StatusParagraphs.h
index 7a0f2177d..3c5d35183 100644
--- a/toolsrc/include/StatusParagraphs.h
+++ b/toolsrc/include/StatusParagraphs.h
@@ -1,6 +1,7 @@
#pragma once
#include "StatusParagraph.h"
#include <memory>
+#include <iterator>
namespace vcpkg
{
@@ -19,28 +20,28 @@ namespace vcpkg
}
const_iterator find(const std::string& name, const triplet& target_triplet) const;
iterator find(const std::string& name, const triplet& target_triplet);
- iterator find_installed(const std::string& name, const triplet& target_triplet);
+ const_iterator find_installed(const std::string& name, const triplet& target_triplet) const;
iterator insert(std::unique_ptr<StatusParagraph>);
friend std::ostream& operator<<(std::ostream&, const StatusParagraphs&);
- auto end()
+ iterator end()
{
return paragraphs.rend();
}
- auto end() const
+ const_iterator end() const
{
return paragraphs.rend();
}
- auto begin()
+ iterator begin()
{
return paragraphs.rbegin();
}
- auto begin() const
+ const_iterator begin() const
{
return paragraphs.rbegin();
}