summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2018-02-05 09:41:31 -0600
committerMark Salyzyn2018-02-05 11:33:10 -0600
commit0c071c9de7aa40301cfc945f08d1783f2831ee5c (patch)
treee5182c884c4b4e1afe155556ab2c0a507e5faf76 /base/include
parent7c271bdc3b240779ad78ab379ae98925785fac70 (diff)
downloadplatform-system-core-0c071c9de7aa40301cfc945f08d1783f2831ee5c.tar.gz
platform-system-core-0c071c9de7aa40301cfc945f08d1783f2831ee5c.tar.xz
platform-system-core-0c071c9de7aa40301cfc945f08d1783f2831ee5c.zip
base: adb.exe build error
Windows build of adb is broken because of the lack of std::chrono_literals and for an implementation of android::boot_clock::now(). Test: make -j vts Bug: 72941624 Change-Id: Ie65fed098633eb45a94ea553de6903f8d55fc5b2
Diffstat (limited to 'base/include')
-rw-r--r--base/include/android-base/chrono_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/include/android-base/chrono_utils.h b/base/include/android-base/chrono_utils.h
index 7679d4c94..c3396ee2f 100644
--- a/base/include/android-base/chrono_utils.h
+++ b/base/include/android-base/chrono_utils.h
@@ -20,7 +20,9 @@
20#include <chrono> 20#include <chrono>
21#include <sstream> 21#include <sstream>
22 22
23#if __cplusplus > 201103L // C++14
23using namespace std::chrono_literals; 24using namespace std::chrono_literals;
25#endif
24 26
25namespace android { 27namespace android {
26namespace base { 28namespace base {