title: expected { before destructor
body: <p>I've got a problem with my newly class called Fountainofyouth. After trying to build whole project debugger shows </p>
  
  <pre><code>warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
  </code></pre>
  
  <p>and
  error: <code>expected '{' before 'Fountainofyouth'</code>
  Can anybody tell me whats going on?
  content of Fountainofyouth.cpp:</p>
  
  <pre><code>#include "Fountainofyouth.h"
  
  //warning
  Fountainofyouth::Fountainofyouth(int startDrinks) : Field
  {
      //ctor
  }
  
  //error
  Fountainofyouth::~Fountainofyouth()
  {
      //dtor
  }
  
  string Fountainofyouth::fieldType()
  {
      return 0;
  }
  
  bool Fountainofyouth::canEnter(Unit* unit)
  {
      return 0;
  }
  
  void Fountainofyouth::affect(Unit* unit)
  {
  
  }
  </code></pre>
  
  <p>`</p>