Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20acaada authored by Elliott Hughes's avatar Elliott Hughes
Browse files

<string> is always available.

Change-Id: Ib4bde5521c1e02b7d90b85548b7ed4479c7d8d0d
parent 5632c8ba
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
#define ANDROID_STRING8_H

#include <iostream>
#include <string>

#include <utils/Errors.h>
#include <utils/Unicode.h>
@@ -26,11 +27,6 @@
#include <string.h> // for strcmp
#include <stdarg.h>

#if __has_include(<string>)
#include <string>
#define HAS_STRING
#endif

#if __has_include(<string_view>)
#include <string_view>
#define HAS_STRING_VIEW
@@ -390,7 +386,6 @@ inline String8::operator std::string_view() const

// ---------------------------------------------------------------------------

#undef HAS_STRING
#undef HAS_STRING_VIEW

#endif // ANDROID_STRING8_H