diff options
author | dilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 22:13:24 +0000 |
---|---|---|
committer | dilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 22:13:24 +0000 |
commit | 7286e3fca5309c743061deb6f5593a070f35f592 (patch) | |
tree | b53a3c961955ca59258a91fe8f9e6605b71da511 /printing/page_range.cc | |
parent | f706d901ff9830869f4ef3ebc50ee53282970c35 (diff) | |
download | chromium_src-7286e3fca5309c743061deb6f5593a070f35f592.zip chromium_src-7286e3fca5309c743061deb6f5593a070f35f592.tar.gz chromium_src-7286e3fca5309c743061deb6f5593a070f35f592.tar.bz2 |
some cleanup for base/stl_util
removed unused/irrelevant functions
removed irrelevant comments
Moved stl_util-inl.h => stl_util.h
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7342047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/page_range.cc')
-rw-r--r-- | printing/page_range.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/printing/page_range.cc b/printing/page_range.cc index ffe572d..057ba3c 100644 --- a/printing/page_range.cc +++ b/printing/page_range.cc @@ -4,7 +4,8 @@ #include "printing/page_range.h" -#include "base/stl_util-inl.h" +#include <set> +#include <vector> namespace printing { @@ -18,7 +19,7 @@ std::vector<int> PageRange::GetPages(const PageRanges& ranges) { pages.insert(i); } } - return SetToVector(pages); + return std::vector<int>(pages.begin(), pages.end()); } /* static */ |