summaryrefslogtreecommitdiffstats
path: root/src/UIFile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/UIFile.hpp')
-rw-r--r--src/UIFile.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/UIFile.hpp b/src/UIFile.hpp
index d583c6d..1f2c39f 100644
--- a/src/UIFile.hpp
+++ b/src/UIFile.hpp
@@ -13,9 +13,7 @@
#include <glibmm/refptr.h>
#include <gtkmm/builder.h>
-#include <fstream>
#include <iostream>
-#include <sstream>
#include <stdexcept>
#include <string>
@@ -53,9 +51,7 @@ public:
return Gtk::Builder::create_from_file(ui_filename);
}
- std::stringstream ss;
- ss << "Unable to find " << ui_filename << "\n";
- throw std::runtime_error(ss.str());
+ throw std::runtime_error("Unable to find " + ui_filename);
}
};