summaryrefslogtreecommitdiffstats
path: root/src/UIFile.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-04 15:01:57 -0400
committerDavid Robillard <d@drobilla.net>2024-06-04 15:01:57 -0400
commit5ce1f36d4202046661411481a30cc13101862575 (patch)
tree32222a8b5f83e34d3a9191d50a81e984560f7a34 /src/UIFile.hpp
parentc94e92befcc94fca6d0639c2fd562762d152d46f (diff)
downloadpatchage-5ce1f36d4202046661411481a30cc13101862575.tar.gz
patchage-5ce1f36d4202046661411481a30cc13101862575.tar.bz2
patchage-5ce1f36d4202046661411481a30cc13101862575.zip
Avoid std::endl
Diffstat (limited to 'src/UIFile.hpp')
-rw-r--r--src/UIFile.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UIFile.hpp b/src/UIFile.hpp
index 36be144..38a46b1 100644
--- a/src/UIFile.hpp
+++ b/src/UIFile.hpp
@@ -41,7 +41,7 @@ public:
if (!bundle.empty()) {
const std::string bundle_ui_filename = bundle + "/" + ui_filename;
if (is_readable(bundle_ui_filename)) {
- std::cout << "Loading UI file " << bundle_ui_filename << std::endl;
+ std::cout << "Loading UI file " << bundle_ui_filename << "\n";
return Gtk::Builder::create_from_file(bundle_ui_filename);
}
}
@@ -49,12 +49,12 @@ public:
ui_filename = std::string(PATCHAGE_DATA_DIR) + "/" + ui_filename;
if (is_readable(ui_filename)) {
- std::cout << "Loading UI file " << ui_filename << std::endl;
+ std::cout << "Loading UI file " << ui_filename << "\n";
return Gtk::Builder::create_from_file(ui_filename);
}
std::stringstream ss;
- ss << "Unable to find " << ui_filename << std::endl;
+ ss << "Unable to find " << ui_filename << "\n";
throw std::runtime_error(ss.str());
return {};
}