title: Member reference base type is not a structure or union
body: <p>I need your help on one of my C++ project. 
  I've got a semantic issue there : </p>
  
  <pre><code>Image bwImage(Image);
  bwImage.setPixel(i,j,Color::Color( image.getPixel(i,j).r * RED + image.getPixel(i,j).g*GREEN + image.getPixel(i,j).b*BLUE,
  image.getPixel(i,j).r*RED + image.getPixel(i,j).g*GREEN + image.getPixel(i,j).b*BLUE,
  image.getPixel(i,j).r*RED + image.getPixel(i,j).g*GREEN + image.getPixel(i,j).b*BLUE) );
  </code></pre>
  
  <p>The error message is:</p>
  
  <blockquote>
    <p>"Member reference base type <code>sf::Image(sf::Image)</code> is not a structure
    or union".</p>
  </blockquote>
  
  <p>Does anyone know where is the problem ?</p>
  
  <p>Thanks ! </p>