diff --git a/include/grpc++/auth_property_iterator.h b/include/grpc++/auth_property_iterator.h
index 1e6c2d8bf765a56df264e4fb8ddfe27f48e1100b..c7870c46be13e1a858be0b30eeac277b6c66fe85 100644
--- a/include/grpc++/auth_property_iterator.h
+++ b/include/grpc++/auth_property_iterator.h
@@ -63,7 +63,7 @@ class AuthPropertyIterator
   AuthPropertyIterator(const grpc_auth_property* property,
                        const grpc_auth_property_iterator* iter);
  private:
-  friend SecureAuthContext;
+  friend class SecureAuthContext;
   const grpc_auth_property* property_;
   // The following items form a grpc_auth_property_iterator.
   const grpc_auth_context* ctx_;