summaryrefslogtreecommitdiff
path: root/cmdline/token_range.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/token_range.h')
-rw-r--r--cmdline/token_range.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmdline/token_range.h b/cmdline/token_range.h
index 335806795a..c22d6c8959 100644
--- a/cmdline/token_range.h
+++ b/cmdline/token_range.h
@@ -23,6 +23,8 @@
#include <algorithm>
#include <memory>
+#include "android-base/strings.h"
+
namespace art {
// A range of tokens to make token matching algorithms easier.
//
@@ -374,7 +376,7 @@ struct TokenRange {
// e.g. ["hello", "world"].join('$') == "hello$world"
std::string Join(char separator) const {
TokenList tmp(begin(), end());
- return art::Join(tmp, separator);
+ return android::base::Join(tmp, separator);
// TODO: Join should probably take an offset or iterators
}