diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-30 17:53:08 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-30 17:53:08 +0200 |
commit | 3d9a0a1f983afa7137e59b6e77b23838c990a243 (patch) | |
tree | c1b55aa7523b219507ea8a2bfffd3af4d0629a0d /libs/ardour/template_utils.cc | |
parent | 4c077010ad0fcb22b1cfd105c044402106207b19 (diff) |
Don't use API definition as namespace & fix whitespace
Diffstat (limited to 'libs/ardour/template_utils.cc')
-rw-r--r-- | libs/ardour/template_utils.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc index 5c6fd9c833..ceeefb0e51 100644 --- a/libs/ardour/template_utils.cc +++ b/libs/ardour/template_utils.cc @@ -118,7 +118,7 @@ find_session_templates (vector<TemplateInfo>& template_names, bool read_xml) pv->get_property (X_("created-with"), created_with); } rti.created_with = created_with; - } catch ( LIBPBD_API::XMLException &e) {} + } catch (XMLException &e) {} rti.description = _("No Description"); try { @@ -126,7 +126,7 @@ find_session_templates (vector<TemplateInfo>& template_names, bool read_xml) if (desc != 0) { rti.description = desc->attribute_value(); } - } catch ( LIBPBD_API::XMLException &e) {} + } catch (XMLException &e) {} } template_names.push_back (rti); @@ -166,7 +166,7 @@ find_route_templates (vector<TemplateInfo>& template_names) pv->get_property (X_("created-with"), created_with); } rti.created_with = created_with; - } catch ( LIBPBD_API::XMLException &e) {} + } catch (XMLException &e) {} rti.description = _("No Description"); try { @@ -174,7 +174,7 @@ find_route_templates (vector<TemplateInfo>& template_names) if (desc != 0) { rti.description = desc->attribute_value(); } - } catch ( LIBPBD_API::XMLException &e) {} + } catch (XMLException &e) {} rti.name = IO::name_from_state (*root->children().front()); rti.path = fullpath; |