Skip to content

Commit 093be51

Browse files
authored
Update compiler-warning-level-3-c4373.md
1 parent a7ac13a commit 093be51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/error-messages/compiler-warnings/compiler-warning-level-3-c4373.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ helpviewer_keywords: ["C4373"]
1111
1212
## Remarks
1313

14-
Your application contains a method in a derived class that overrides a virtual method in a base class, and the parameters in the overriding method differ by only a [const](../../cpp/const-cpp.md) or [volatile](../../cpp/volatile-cpp.md) qualifier from the parameters of the virtual method. This means the compiler must bind a function reference to the method in either the base or derived class.
14+
Your application contains a method in a derived class that overrides a virtual method in a base class. The parameters in the overriding method differ by a [`const`](../../cpp/const-cpp.md) or [`volatile`](../../cpp/volatile-cpp.md) qualifier from the parameters of the virtual method.
1515

16-
Versions of the compiler prior to Visual Studio 2008 bind the function to the method in the base class, then issue a warning message. Later versions of the compiler ignore the **`const`** or **`volatile`** qualifier, bind the function to the method in the derived class, then issue warning **C4373**. The later behavior conforms to the C++ standard.
16+
Versions of the compiler prior to Visual Studio 2008 bind the function to the method in the base class, then issue a warning message. Later versions of the compiler ignore the **`const`** or **`volatile`** qualifier, bind the function to the method in the derived class, then issue warning **C4373**. The latter behavior conforms to the C++ standard.
1717

1818
## Example
1919

20-
The following code example generates warning C4373. To resolve this issue, you can either make the override use the same CV-qualifiers as the base member function, or if you did not intend to create an override, you can give the function in the derived class a different name.
20+
The following code example generates warning C4373. To resolve this issue, you can either make the override use the same CV-qualifiers as the base member function, or if you didn't intend to create an override, you can give the function in the derived class a different name.
2121

2222
```cpp
2323
// c4373.cpp

0 commit comments

Comments
 (0)