title: Getline issue with input of open file stream
body: <p>I'm trying to figure out why this is broke now, because I had it working and I'm not sure what is wrong.  I'm trying a simple getline from a file that's been opened, however, the compiler keeps giving me errors.  I've tried finding someone else with these issues, but I haven't been able to find anyone else with this.  Any advice?</p>
  
  <pre><code>void Foo::bar(ifstream &amp;inputFile)
  {
  // Read in the data, parse it out, and 
  // call loadQueue
  string input;
  do {    
      getline(inputFile, input);
      loadQueue(input);
  }while (!(inputFile.eof()));
  
  }
  </code></pre>
  
  <p>Here is what I get in return:</p>
  
  <pre><code>g++    -c -o Airworthy.o Airworthy.cpp
  Foo.cpp: In member function ‘void Airworthy::readData(std::ifstream&amp;)’:
  Foo.cpp:25:27: error: no matching function for call to ‘getline(std::ifstream&amp;, std::string&amp;)’
  Foo.cpp:25:27: note: candidates are:
  In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/string:55:0,
               from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/locale_classes.h:42,
               from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/ios_base.h:43,
               from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ios:43,
               from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ostream:40,
               from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/iostream:40,
  </code></pre>
  
  <p>Any ideas on what the issue is?</p>