Compiler Warning (level 4) C4985
The SAL annotations on the current method declaration or definition differ from the annotations on a previous declaration. The same SAL annotations must be used in the definition and declarations of a method.
The Microsoft source code annotation language (SAL) provides a set of annotations to describe how a function uses its parameters, the assumptions it makes about them, and the guarantees it makes upon finishing. The sal.h header file defines the annotations.
To correct this error
Use the same SAL annotations on the definition of a method and all its declarations.