summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--absl/flags/flag.h4
-rw-r--r--absl/strings/string_view.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/absl/flags/flag.h b/absl/flags/flag.h
index 881f8502..86ad59dd 100644
--- a/absl/flags/flag.h
+++ b/absl/flags/flag.h
@@ -134,9 +134,9 @@ class Flag {
bool InvokeValidator(const void* value) const {
return GetImpl()->InvokeValidator(value);
}
- template <typename T>
+ template <typename T1>
inline bool IsOfType() const {
- return GetImpl()->IsOftype<T>();
+ return GetImpl()->template IsOfType<T1>();
}
T Get() const { return GetImpl()->Get(); }
bool AtomicGet(T* v) const { return GetImpl()->AtomicGet(v); }
diff --git a/absl/strings/string_view.h b/absl/strings/string_view.h
index 841570b6..82344eb2 100644
--- a/absl/strings/string_view.h
+++ b/absl/strings/string_view.h
@@ -168,7 +168,7 @@ class string_view {
string_view( // NOLINT(runtime/explicit)
const std::basic_string<char, std::char_traits<char>, Allocator>&
str) noexcept
- // This is implement in terms of `string_view(p, n)` so `str.size()`
+ // This is implemented in terms of `string_view(p, n)` so `str.size()`
// doesn't need to be reevaluated after `ptr_` is set.
: string_view(str.data(), str.size()) {}