Index: base/bind_internal_win.h |
diff --git a/base/bind_internal_win.h b/base/bind_internal_win.h |
index c3f7477668e3e9d232c0541360f66aac8e0e036f..42fbf231f8a8f8b7c1a48cf1073cd6804bf6b5ad 100644 |
--- a/base/bind_internal_win.h |
+++ b/base/bind_internal_win.h |
@@ -23,7 +23,9 @@ class RunnableAdapter; |
template <typename R, typename... Args> |
class RunnableAdapter<R(__stdcall *)(Args...)> { |
public: |
- typedef R (RunType)(Args...); |
+ // MSVC 2013 doesn't support Type Alias of function types. |
+ // Revisit this after we update it to newer version. |
+ typedef R RunType(Args...); |
explicit RunnableAdapter(R(__stdcall *function)(Args...)) |
: function_(function) { |
@@ -41,7 +43,9 @@ class RunnableAdapter<R(__stdcall *)(Args...)> { |
template <typename R, typename... Args> |
class RunnableAdapter<R(__fastcall *)(Args...)> { |
public: |
- typedef R (RunType)(Args...); |
+ // MSVC 2013 doesn't support Type Alias of function types. |
+ // Revisit this after we update it to newer version. |
+ typedef R RunType(Args...); |
explicit RunnableAdapter(R(__fastcall *function)(Args...)) |
: function_(function) { |