C1120: Only virtual functions can be pure

[ERROR]

Description

Only a virtual function can be declared as pure. Following example shows an hill-formed declaration.

Example
  class A{            // class

  
    public:

  
    void f(void)=0;   // ill-formed declaration.

  
  };

  
Tips

Make the function virtual. For overloaded functions check if the parameters are identical to the base virtual function.