From bb9cc45cd22af67ac275a5e73accbe14fee664d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 14 Oct 2009 16:10:01 +0000 Subject: Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_format_base.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'libs/ardour/export_format_base.cc') diff --git a/libs/ardour/export_format_base.cc b/libs/ardour/export_format_base.cc index f2570f8f65..a994b97ac3 100644 --- a/libs/ardour/export_format_base.cc +++ b/libs/ardour/export_format_base.cc @@ -46,7 +46,7 @@ ExportFormatBase::SelectableCompatible::set_compatible (bool value) ExportFormatBase::ExportFormatBase () { - + } ExportFormatBase::ExportFormatBase (ExportFormatBase const & other) : @@ -61,7 +61,7 @@ ExportFormatBase::ExportFormatBase (ExportFormatBase const & other) : ExportFormatBase::~ExportFormatBase () { - + } boost::shared_ptr @@ -86,9 +86,9 @@ boost::shared_ptr ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation operation) const { boost::shared_ptr result (new ExportFormatBase ()); - + /* Sets */ - + // Endiannesses { EndianSet::const_iterator start1 = endiannesses.begin(); @@ -96,7 +96,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation EndianSet::const_iterator start2 = other.endiannesses.begin(); EndianSet::const_iterator end2 = other.endiannesses.end(); std::insert_iterator insert (result->endiannesses, result->endiannesses.begin()); - + switch (operation) { case SetIntersection: std::set_intersection (start1, end1, start2, end2, insert); @@ -109,7 +109,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation break; } } - + // Sample formats { SampleFormatSet::const_iterator start1 = sample_formats.begin(); @@ -117,7 +117,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation SampleFormatSet::const_iterator start2 = other.sample_formats.begin(); SampleFormatSet::const_iterator end2 = other.sample_formats.end(); std::insert_iterator insert (result->sample_formats, result->sample_formats.begin()); - + switch (operation) { case SetIntersection: std::set_intersection (start1, end1, start2, end2, insert); @@ -130,8 +130,8 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation break; } } - - + + // Sample rates { SampleRateSet::const_iterator start1 = sample_rates.begin(); @@ -139,7 +139,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation SampleRateSet::const_iterator start2 = other.sample_rates.begin(); SampleRateSet::const_iterator end2 = other.sample_rates.end(); std::insert_iterator insert (result->sample_rates, result->sample_rates.begin()); - + switch (operation) { case SetIntersection: std::set_intersection (start1, end1, start2, end2, insert); @@ -152,7 +152,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation break; } } - + // Format ids { FormatSet::const_iterator start1 = format_ids.begin(); @@ -160,7 +160,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation FormatSet::const_iterator start2 = other.format_ids.begin(); FormatSet::const_iterator end2 = other.format_ids.end(); std::insert_iterator insert (result->format_ids, result->format_ids.begin()); - + switch (operation) { case SetIntersection: std::set_intersection (start1, end1, start2, end2, insert); @@ -173,7 +173,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation break; } } - + // Qualities { QualitySet::const_iterator start1 = qualities.begin(); @@ -181,7 +181,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation QualitySet::const_iterator start2 = other.qualities.begin(); QualitySet::const_iterator end2 = other.qualities.end(); std::insert_iterator insert (result->qualities, result->qualities.begin()); - + switch (operation) { case SetIntersection: std::set_intersection (start1, end1, start2, end2, insert); @@ -194,7 +194,7 @@ ExportFormatBase::do_set_operation (ExportFormatBase const & other, SetOperation break; } } - + return result; } -- cgit v1.2.3