Include-What-You-Use: <algorithm>.
This CL adds #include <algorithm> to files where std::min and/or
std::max is used.
Tihs is just a code clean-up. No behavior change is intended.
BUG=
TEST=unittest
REF_BUG=19010851,19470758
REF_CL=86930884,86549260,86558621,87011807
Hiroshi Sumita authored 8 years ago
Yohei Yukawa committed 8 years ago
28 | 28 |
|
29 | 29 |
#include "chrome/nacl/url_loader_util.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <memory>
|
32 | 33 |
|
33 | 34 |
#include <ppapi/c/pp_file_info.h>
|
28 | 28 |
|
29 | 29 |
#include "converter/lattice.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <sstream>
|
32 | 33 |
#include <string>
|
33 | 34 |
#include <vector>
|
28 | 28 |
|
29 | 29 |
#include "dictionary/system/system_dictionary.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <cstdlib>
|
32 | 33 |
#include <memory>
|
33 | 34 |
#include <string>
|
28 | 28 |
|
29 | 29 |
#include "gui/dictionary_tool/find_dialog.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <QtGui/QtGui>
|
|
33 |
|
32 | 34 |
#include "base/logging.h"
|
33 | |
#include "base/util.h"
|
34 | 35 |
|
35 | 36 |
namespace mozc {
|
36 | 37 |
namespace gui {
|
34 | 34 |
#include <Windows.h>
|
35 | 35 |
#include <Sddl.h>
|
36 | 36 |
|
|
37 |
#include <algorithm>
|
37 | 38 |
#include <string>
|
38 | 39 |
|
39 | 40 |
#include "base/const.h"
|
0 | 0 |
MAJOR=2
|
1 | 1 |
MINOR=17
|
2 | |
BUILD=2196
|
|
2 |
BUILD=2197
|
3 | 3 |
REVISION=102
|
4 | 4 |
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
|
5 | 5 |
# downloaded by NaCl Mozc.
|
35 | 35 |
#include <ppapi/cpp/var.h>
|
36 | 36 |
#include <ppapi/utility/completion_callback_factory.h>
|
37 | 37 |
|
|
38 |
#include <algorithm>
|
38 | 39 |
#include <memory>
|
39 | 40 |
|
40 | 41 |
#include "base/logging.h"
|
28 | 28 |
|
29 | 29 |
#include "net/jsonpath.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <cctype>
|
32 | 33 |
#include <sstream>
|
33 | 34 |
#include <string>
|
45 | 45 |
#undef max
|
46 | 46 |
#endif // max
|
47 | 47 |
|
|
48 |
#include <algorithm>
|
48 | 49 |
#include <limits>
|
49 | 50 |
#include <memory>
|
50 | 51 |
#include <string>
|
28 | 28 |
|
29 | 29 |
#include "rewriter/focus_candidate_rewriter.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <string>
|
32 | 33 |
|
33 | 34 |
#include "base/logging.h"
|
28 | 28 |
|
29 | 29 |
#include "rewriter/zipcode_rewriter.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <string>
|
32 | 33 |
|
33 | 34 |
#include "base/logging.h"
|
28 | 28 |
|
29 | 29 |
#include "session/key_info_util.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <memory>
|
32 | 33 |
#include <sstream>
|
33 | 34 |
#include <string>
|
27 | 27 |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
28 | 28 |
|
29 | 29 |
#include "session/key_info_util.h"
|
|
30 |
|
|
31 |
#include <algorithm>
|
|
32 |
#include <vector>
|
30 | 33 |
|
31 | 34 |
#include "composer/key_parser.h"
|
32 | 35 |
#include "config/config_handler.h"
|
28 | 28 |
|
29 | 29 |
#include "unix/ibus/surrounding_text_util.h"
|
30 | 30 |
|
|
31 |
#include <algorithm>
|
31 | 32 |
#include <limits>
|
32 | 33 |
#include <string>
|
33 | 34 |
|
27 | 27 |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
28 | 28 |
|
29 | 29 |
#include "win32/base/config_snapshot.h"
|
|
30 |
|
|
31 |
#include <algorithm>
|
30 | 32 |
|
31 | 33 |
#include "base/win_util.h"
|
32 | 34 |
#include "client/client_interface.h"
|