summaryrefslogtreecommitdiff
path: root/absl/flags
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2019-10-01 13:53:57 -0700
committerGravatar CJ Johnson <johnsoncj@google.com>2019-10-02 13:50:28 -0400
commitaad33fefaa8f744d71ce747a53717b835bdf8e84 (patch)
treeddf487bd6b0818c4cfab411d5f9bfcea3aa5021a /absl/flags
parent8fe7214fe2d7a45ecc4d85f6a524c6b1532426de (diff)
Export of internal Abseil changes
-- fb57c2d3598c81779c1bcd43c61b5abe748159c1 by Mark Barolak <mbar@google.com>: Fix a typo in string_view.h PiperOrigin-RevId: 272287080 -- 69ac5819b786e50ec4c3e80847b868feb4ed94ca by Abseil Team <absl-team@google.com>: Fix -Wmicrosoft-template on clang-cl. PiperOrigin-RevId: 272260629 GitOrigin-RevId: fb57c2d3598c81779c1bcd43c61b5abe748159c1 Change-Id: Ib5b4486f6a991b340e640b0353fc89cae1100b14
Diffstat (limited to 'absl/flags')
-rw-r--r--absl/flags/flag.h4
1 files changed, 2 insertions, 2 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); }