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

Commit 906f29ee authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "<string> is always available." into main

parents 5632c8ba 20acaada
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