diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2017-03-01 16:53:35 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2017-03-01 17:20:57 +0000 |
commit | 6e2ccb75d7c9e1e9102a0512449381e2fffc57a7 (patch) | |
tree | ed1d6e22971d4312f2370211638aeb2381374c2e /src/test/cpp/util | |
parent | 0dff43a2e3c566766f64fed597d143885d5d8368 (diff) |
Bazel client: simplify {Read,Write}File semantics
Introduce a platform-specific file handle type
(HANDLE on Windows, int on Linux/Darwin/FreeBSD)
so we can get rid of the read_func and write_func
functions, since they are always the same
everywhere.
Also include file_platform.h in file.h, since they
are logically the same file (file_platform.h is
just the platform-specific part of file.h).
--
PiperOrigin-RevId: 148892736
MOS_MIGRATED_REVID=148892736
Diffstat (limited to 'src/test/cpp/util')
-rw-r--r-- | src/test/cpp/util/file_test.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/cpp/util/file_test.cc b/src/test/cpp/util/file_test.cc index 1a02de5d78..0602dcb20c 100644 --- a/src/test/cpp/util/file_test.cc +++ b/src/test/cpp/util/file_test.cc @@ -21,7 +21,6 @@ #include <vector> #include "src/main/cpp/util/file.h" -#include "src/main/cpp/util/file_platform.h" #include "src/test/cpp/util/test_util.h" #include "gtest/gtest.h" |