title: C26495 - Variable initialization warning in pure abstract class
body: <p>Here is my code:</p>
  <pre><code>class BaseBehaviour {
  public:
      // Empty virtual destructor for proper cleanup
      virtual ~BaseBehaviour() {};
  
      // Called first and once
      virtual void Start() = 0;
  
      // Called every frame
      virtual void Update(float dt, bool keys[], glm::vec2 mousePos) = 0;
  protected:
      GameObject* gameObject;
  };
  </code></pre>
  <p>My question is, I shouldn't be using a variable in a pure abstract class?</p>
  <p>I wanted to define that every class derived from <code>BaseBehaviour</code> should have a <code>*gameObject</code> variable (new to C++).
  Maybe I should be using an <code>interface class</code>, or an <code>abstract class</code>?</p>