diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-26 17:52:54 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-30 21:52:41 -0800 |
| commit | cc81c3de6c74837dc146d7d3de73e4388cfc14dc (patch) | |
| tree | d35c2d58449e4739eff2f152cff3ad278a6cb865 /toolsrc/include | |
| parent | 9502d795bb325669df8e4e3b32f6ca60827813f1 (diff) | |
| download | vcpkg-cc81c3de6c74837dc146d7d3de73e4388cfc14dc.tar.gz vcpkg-cc81c3de6c74837dc146d7d3de73e4388cfc14dc.zip | |
[StatusParagraphs] Replace auto with actual type
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/StatusParagraphs.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/toolsrc/include/StatusParagraphs.h b/toolsrc/include/StatusParagraphs.h index 7a0f2177d..11491cf4e 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 { @@ -25,22 +26,22 @@ namespace vcpkg 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(); } |
