Removed unnecessary template argument to `std::min`.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d4153e8c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d4153e8c Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d4153e8c Branch: refs/heads/master Commit: d4153e8ca0f97bc83fa9c9218c3000b523f34a00 Parents: 19d5b5d Author: Michael Park <mp...@apache.org> Authored: Sat Sep 17 00:16:15 2016 +0200 Committer: Michael Park <mp...@apache.org> Committed: Sat Sep 17 11:38:16 2016 +0200 ---------------------------------------------------------------------- src/files/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/d4153e8c/src/files/files.cpp ---------------------------------------------------------------------- diff --git a/src/files/files.cpp b/src/files/files.cpp index 04b8327..5be51f4 100644 --- a/src/files/files.cpp +++ b/src/files/files.cpp @@ -659,7 +659,7 @@ Future<Try<tuple<size_t, string>, FilesError>> FilesProcess::_read( } // Cap the read length at 16 pages. - length = std::min<size_t>(length.get(), os::pagesize() * 16); + length = std::min(length.get(), os::pagesize() * 16); // Seek to the offset we want to read from. if (lseek(fd.get(), offset, SEEK_SET) == -1) {