title: C++ - error: multiple types in one declaration
body: <p>I am having some trouble with this program I am trying to make. When I compile it tells me I have an error: multiple types in one declaration inside this file on line 49.</p>
  
  <pre><code>#ifndef GRIDGAME_H
  #define GRIDGAME_H
  
  #include "GameType.h"
  
  class GridGame {
  public:
      GridGame();
  
      ~GridGame();
  
      enum GameType GetType() { return m_type; }
  
      void OutputGreeting() const;
  
      int NumPlayers() const;
  
      char GetPlayerSymbol(int player) const;
  
      int GetBoardSize() const;
  
      /* Returns NULL on good move, else returns err string.
       * Note that this check is game-neutral (at least for TTT and Reversi)
       */
      const char *IsLegalMove(int player, int row, int col) const;
  
      void OutputBoard() const;
  
  
  protected:
      GridGame(enum GameType type, const char *name, const char *playerSymbols, int boardSize);
  
      void DoBasicMove(int player, int row, int col);
  
      // The only data member that the subclassed games should really
      // need full read/write access to, once game is set up.
      char **m_board;
  
  private:
      enum GameType m_type;
      const char *m_gameName;
      int m_boardSize;
      const char *m_playerSymbols;
  
  };
  
  #endif //GRIDGAME_H
  </code></pre>
  
  <p>I don't see anything wrong, can anyone help me?</p>
  
  <p>Edit: Line 49 is the last curly brace with the semi-colon.</p>