diff --git a/google-cpp-styleguide/classes.rst b/google-cpp-styleguide/classes.rst index dd48741..b65ee6a 100644 --- a/google-cpp-styleguide/classes.rst +++ b/google-cpp-styleguide/classes.rst @@ -332,7 +332,7 @@ C++ 允许用户通过使用 ``operator`` 关键字 `对内建运算符进行重 **总述** -将 *所有* 数据成员声明为 ``private``, 除非是 ``static const`` 类型成员 (遵循 :ref:`常量命名规则 `). 处于技术上的原因, 在使用 `Google Test `_ 时我们允许测试固件类中的数据成员为 ``protected``. +将 *所有* 数据成员声明为 ``private``, 除非是 ``static const`` 类型成员 (遵循 :ref:`常量命名规则 `). 出于技术上的原因, 在使用 `Google Test `_ 时我们允许测试固件类中的数据成员为 ``protected``. .. _declaration-order: