Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed useless stringstream

  • Loading branch information...
commit 8f39b47e69af6a457845c54740db647fb3fcb9be 1 parent f24e2fd
@danielshorten authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 ssp_reader.cpp
View
4 ssp_reader.cpp
@@ -110,9 +110,7 @@ class SongReader {
else if (buffer[8] == 2) { /* Unknown, empty field */ }
else {
- stringstream ss;
- ss << "Error reading file";
- throw IOException(ss.str());
+ throw IOException("Error reading file");
}
}
// cout << "\nEnd of file." << endl;
Please sign in to comment.
Something went wrong with that request. Please try again.