about summary refs log tree commit diff
path: root/absl/flags
diff options
context:
space:
mode:
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 881f8502ef01..86ad59dd9f16 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); }