diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h index 1eb1880523..7fe29f5cf9 100644 --- a/libs/ardour/ardour/amp.h +++ b/libs/ardour/ardour/amp.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_amp_h__ -#define __ardour_amp_h__ +#pragma once #include "ardour/dB.h" #include "ardour/libardour_visibility.h" @@ -88,4 +87,3 @@ private: } // namespace ARDOUR -#endif // __ardour_amp_h__ diff --git a/libs/ardour/ardour/analyser.h b/libs/ardour/ardour/analyser.h index de678b14cf..699983f1d9 100644 --- a/libs/ardour/ardour/analyser.h +++ b/libs/ardour/ardour/analyser.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_analyser_h__ -#define __ardour_analyser_h__ +#pragma once #include @@ -54,4 +53,3 @@ private: } // namespace ARDOUR -#endif /* __ardour_analyser_h__ */ diff --git a/libs/ardour/ardour/analysis_graph.h b/libs/ardour/ardour/analysis_graph.h index 48b354501c..ad9fb0fc0d 100644 --- a/libs/ardour/ardour/analysis_graph.h +++ b/libs/ardour/ardour/analysis_graph.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_analysis_graph_h__ -#define __ardour_analysis_graph_h__ +#pragma once #include #include @@ -82,4 +81,3 @@ class LIBARDOUR_API AnalysisGraph { AnalysisPtr analyser; }; } // namespace ARDOUR -#endif diff --git a/libs/ardour/ardour/ardour.h b/libs/ardour/ardour/ardour.h index d200e4eed3..43abeb99af 100644 --- a/libs/ardour/ardour/ardour.h +++ b/libs/ardour/ardour/ardour.h @@ -21,8 +21,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_ardour_h__ -#define __ardour_ardour_h__ +#pragma once #include #include @@ -99,5 +98,4 @@ namespace ARDOUR { LIBARDOUR_API void reset_performance_meters (Session*); } -#endif /* __ardour_ardour_h__ */ diff --git a/libs/ardour/ardour/async_midi_port.h b/libs/ardour/ardour/async_midi_port.h index fdc7c1ffad..d7fb9248d8 100644 --- a/libs/ardour/ardour/async_midi_port.h +++ b/libs/ardour/ardour/async_midi_port.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __libardour_async_midiport_h__ -#define __libardour_async_midiport_h__ +#pragma once #include #include @@ -108,4 +107,3 @@ class LIBARDOUR_API AsyncMIDIPort : public ARDOUR::MidiPort, public MIDI::Port { } // namespace ARDOUR -#endif /* __libardour_async_midiport_h__ */ diff --git a/libs/ardour/ardour/audio_backend.h b/libs/ardour/ardour/audio_backend.h index 5986b895e4..4d9140ddfb 100644 --- a/libs/ardour/ardour/audio_backend.h +++ b/libs/ardour/ardour/audio_backend.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __libardour_audiobackend_h__ -#define __libardour_audiobackend_h__ +#pragma once #include #include @@ -841,4 +840,3 @@ protected: } // namespace ARDOUR -#endif /* __libardour_audiobackend_h__ */ diff --git a/libs/ardour/ardour/audio_buffer.h b/libs/ardour/ardour/audio_buffer.h index bec4bdd7cc..d891e6d9fa 100644 --- a/libs/ardour/ardour/audio_buffer.h +++ b/libs/ardour/ardour/audio_buffer.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_buffer_h__ -#define __ardour_audio_buffer_h__ +#pragma once #include @@ -268,4 +267,3 @@ private: } // namespace ARDOUR -#endif // __ardour_audio_audio_buffer_h__ diff --git a/libs/ardour/ardour/audio_library.h b/libs/ardour/ardour/audio_library.h index 6c495a80ce..8d7892f9a3 100644 --- a/libs/ardour/ardour/audio_library.h +++ b/libs/ardour/ardour/audio_library.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_library_h__ -#define __ardour_audio_library_h__ +#pragma once #include #include @@ -51,4 +50,3 @@ LIBARDOUR_API extern AudioLibrary* Library; } // ARDOUR namespace -#endif // __ardour_audio_library_h__ diff --git a/libs/ardour/ardour/audio_playlist_importer.h b/libs/ardour/ardour/audio_playlist_importer.h index ee767e63fd..3652e1de53 100644 --- a/libs/ardour/ardour/audio_playlist_importer.h +++ b/libs/ardour/ardour/audio_playlist_importer.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_playlist_importer_h__ -#define __ardour_audio_playlist_importer_h__ +#pragma once #include #include @@ -96,4 +95,3 @@ class LIBARDOUR_API AudioPlaylistImporter : public ElementImporter } // namespace ARDOUR -#endif diff --git a/libs/ardour/ardour/audio_playlist_source.h b/libs/ardour/ardour/audio_playlist_source.h index f973dfa4d0..e2eeb78a8d 100644 --- a/libs/ardour/ardour/audio_playlist_source.h +++ b/libs/ardour/ardour/audio_playlist_source.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_playlist_source_h__ -#define __ardour_audio_playlist_source_h__ +#pragma once #include #include @@ -69,4 +68,3 @@ private: } /* namespace */ -#endif /* __ardour_audio_playlist_source_h__ */ diff --git a/libs/ardour/ardour/audio_port.h b/libs/ardour/ardour/audio_port.h index ce699e0010..1af5c44b00 100644 --- a/libs/ardour/ardour/audio_port.h +++ b/libs/ardour/ardour/audio_port.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_port_h__ -#define __ardour_audio_port_h__ +#pragma once #include "zita-resampler/vmresampler.h" @@ -71,4 +70,3 @@ private: } // namespace ARDOUR -#endif /* __ardour_audio_port_h__ */ diff --git a/libs/ardour/ardour/audio_region_importer.h b/libs/ardour/ardour/audio_region_importer.h index ba52627539..043ee6f611 100644 --- a/libs/ardour/ardour/audio_region_importer.h +++ b/libs/ardour/ardour/audio_region_importer.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_region_importer_h__ -#define __ardour_audio_region_importer_h__ +#pragma once #include #include @@ -109,4 +108,3 @@ class LIBARDOUR_API AudioRegionImporter : public ElementImporter } // namespace ARDOUR -#endif diff --git a/libs/ardour/ardour/audio_track.h b/libs/ardour/ardour/audio_track.h index a367a34af6..b813d91314 100644 --- a/libs/ardour/ardour/audio_track.h +++ b/libs/ardour/ardour/audio_track.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_track_h__ -#define __ardour_audio_track_h__ +#pragma once #include "ardour/interthread_info.h" #include "ardour/track.h" @@ -64,4 +63,3 @@ class LIBARDOUR_API AudioTrack : public Track } // namespace ARDOUR -#endif /* __ardour_audio_track_h__ */ diff --git a/libs/ardour/ardour/audio_track_importer.h b/libs/ardour/ardour/audio_track_importer.h index ea5a97152e..42cf4f28e0 100644 --- a/libs/ardour/ardour/audio_track_importer.h +++ b/libs/ardour/ardour/audio_track_importer.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_track_importer_h__ -#define __ardour_audio_track_importer_h__ +#pragma once #include @@ -84,4 +83,3 @@ class LIBARDOUR_API AudioTrackImporter : public ElementImporter } // namespace ARDOUR -#endif diff --git a/libs/ardour/ardour/audio_unit.h b/libs/ardour/ardour/audio_unit.h index 6ce63b00c9..bac73b9e7d 100644 --- a/libs/ardour/ardour/audio_unit.h +++ b/libs/ardour/ardour/audio_unit.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_unit_h__ -#define __ardour_audio_unit_h__ +#pragma once #include #include @@ -272,4 +271,3 @@ typedef std::shared_ptr AUPluginInfoPtr; } // namespace ARDOUR -#endif // __ardour_audio_unit_h__ diff --git a/libs/ardour/ardour/audioanalyser.h b/libs/ardour/ardour/audioanalyser.h index 283910ea61..912d980289 100644 --- a/libs/ardour/ardour/audioanalyser.h +++ b/libs/ardour/ardour/audioanalyser.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audioanalyser_h__ -#define __ardour_audioanalyser_h__ +#pragma once #include #include @@ -72,4 +71,3 @@ class LIBARDOUR_API AudioAnalyser : public boost::noncopyable { } /* namespace */ -#endif /* __ardour_audioanalyser_h__ */ diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h index cc1b0db6bc..3941396ee6 100644 --- a/libs/ardour/ardour/audioengine.h +++ b/libs/ardour/ardour/audioengine.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audioengine_h__ -#define __ardour_audioengine_h__ +#pragma once #ifdef WAF_BUILD #include "libardour-config.h" @@ -329,4 +328,3 @@ class LIBARDOUR_API AudioEngine : public PortManager, public SessionHandlePtr } // namespace ARDOUR -#endif /* __ardour_audioengine_h__ */ diff --git a/libs/ardour/ardour/audiofile_tagger.h b/libs/ardour/ardour/audiofile_tagger.h index 7a299dbdd3..0b76611207 100644 --- a/libs/ardour/ardour/audiofile_tagger.h +++ b/libs/ardour/ardour/audiofile_tagger.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audiofile_tagger_h__ -#define __ardour_audiofile_tagger_h__ +#pragma once #include @@ -51,4 +50,3 @@ private: } // namespace ARDOUR -#endif /* __ardour_audiofile_tagger_h__ */ diff --git a/libs/ardour/ardour/audiofilesource.h b/libs/ardour/ardour/audiofilesource.h index 614b26d279..2ccbad390b 100644 --- a/libs/ardour/ardour/audiofilesource.h +++ b/libs/ardour/ardour/audiofilesource.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audiofilesource_h__ -#define __ardour_audiofilesource_h__ +#pragma once #include #include @@ -117,5 +116,4 @@ protected: } // namespace ARDOUR -#endif /* __ardour_audiofilesource_h__ */ diff --git a/libs/ardour/ardour/audioplaylist.h b/libs/ardour/ardour/audioplaylist.h index f85506c780..d9e5c1cc74 100644 --- a/libs/ardour/ardour/audioplaylist.h +++ b/libs/ardour/ardour/audioplaylist.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_playlist_h__ -#define __ardour_audio_playlist_h__ +#pragma once #include #include @@ -63,4 +62,3 @@ private: } /* namespace ARDOUR */ -#endif /* __ardour_audio_playlist_h__ */ diff --git a/libs/ardour/ardour/audioregion.h b/libs/ardour/ardour/audioregion.h index 07a6e99dec..182c001703 100644 --- a/libs/ardour/ardour/audioregion.h +++ b/libs/ardour/ardour/audioregion.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_region_h__ -#define __ardour_audio_region_h__ +#pragma once #include #include @@ -301,4 +300,3 @@ extern "C" { LIBARDOUR_API uint32_t sourcefile_length_from_c (void *arg, double); } -#endif /* __ardour_audio_region_h__ */ diff --git a/libs/ardour/ardour/audiorom.h b/libs/ardour/ardour/audiorom.h index 248ed3f9bc..03e7f941c3 100644 --- a/libs/ardour/ardour/audiorom.h +++ b/libs/ardour/ardour/audiorom.h @@ -16,8 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_rom_h__ -#define __ardour_audio_rom_h__ +#pragma once #include "ardour/libardour_visibility.h" #include "ardour/readable.h" @@ -47,4 +46,3 @@ private: } -#endif /* __ardour_readable_h__ */ diff --git a/libs/ardour/ardour/audiosource.h b/libs/ardour/ardour/audiosource.h index de1c612980..96f4938e3f 100644 --- a/libs/ardour/ardour/audiosource.h +++ b/libs/ardour/ardour/audiosource.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_audio_source_h__ -#define __ardour_audio_source_h__ +#pragma once #include @@ -162,4 +161,3 @@ class LIBARDOUR_API AudioSource : virtual public Source, public ARDOUR::AudioRea } -#endif /* __ardour_audio_source_h__ */ diff --git a/libs/ardour/ardour/auditioner.h b/libs/ardour/ardour/auditioner.h index 02b44bc5c5..76c1d30b09 100644 --- a/libs/ardour/ardour/auditioner.h +++ b/libs/ardour/ardour/auditioner.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_auditioner_h__ -#define __ardour_auditioner_h__ +#pragma once #include @@ -141,4 +140,3 @@ private: }; /* namespace ARDOUR */ -#endif /* __ardour_auditioner_h__ */ diff --git a/libs/ardour/ardour/auto_bundle.h b/libs/ardour/ardour/auto_bundle.h index 589590a337..2a49575023 100644 --- a/libs/ardour/ardour/auto_bundle.h +++ b/libs/ardour/ardour/auto_bundle.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_auto_bundle_h__ -#define __ardour_auto_bundle_h__ +#pragma once #include #include @@ -43,4 +42,3 @@ class LIBARDOUR_API AutoBundle : public Bundle { } -#endif /* __ardour_auto_bundle_h__ */ diff --git a/libs/ardour/ardour/automatable.h b/libs/ardour/ardour/automatable.h index 10d31bc127..3b0fb9f35b 100644 --- a/libs/ardour/ardour/automatable.h +++ b/libs/ardour/ardour/automatable.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_automatable_h__ -#define __ardour_automatable_h__ +#pragma once #include #include @@ -149,4 +148,3 @@ private: } // namespace ARDOUR -#endif /* __ardour_automatable_h__ */ diff --git a/libs/ardour/ardour/automatable_sequence.h b/libs/ardour/ardour/automatable_sequence.h index a01a35d627..9812c93271 100644 --- a/libs/ardour/ardour/automatable_sequence.h +++ b/libs/ardour/ardour/automatable_sequence.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_automatable_sequence_h__ -#define __ardour_automatable_sequence_h__ +#pragma once #include "evoral/Sequence.h" #include "ardour/automatable.h" @@ -46,5 +45,4 @@ public: } // namespace ARDOUR -#endif /* __ardour_automatable_sequence_h__ */ diff --git a/libs/ardour/ardour/automation_control.h b/libs/ardour/ardour/automation_control.h index 8c10d407c1..f7053feca2 100644 --- a/libs/ardour/ardour/automation_control.h +++ b/libs/ardour/ardour/automation_control.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_automation_control_h__ -#define __ardour_automation_control_h__ +#pragma once #include #include @@ -180,4 +179,3 @@ private: } // namespace ARDOUR -#endif /* __ardour_automation_control_h__ */ diff --git a/libs/ardour/ardour/automation_list.h b/libs/ardour/ardour/automation_list.h index 5d025e7517..2115d4b356 100644 --- a/libs/ardour/ardour/automation_list.h +++ b/libs/ardour/ardour/automation_list.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_automation_event_h__ -#define __ardour_automation_event_h__ +#pragma once #include #include @@ -147,4 +146,3 @@ private: } // namespace -#endif /* __ardour_automation_event_h__ */ diff --git a/libs/ardour/ardour/automation_watch.h b/libs/ardour/ardour/automation_watch.h index 71756f24da..409834ce6c 100644 --- a/libs/ardour/ardour/automation_watch.h +++ b/libs/ardour/ardour/automation_watch.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_automation_watch_h__ -#define __ardour_automation_watch_h__ +#pragma once #include #include @@ -70,4 +69,3 @@ private: } /* namespace */ -#endif // __ardour_automation_watch_h__ diff --git a/libs/ardour/ardour/beatbox.h b/libs/ardour/ardour/beatbox.h index e8dd62c12d..a9e57dd8af 100644 --- a/libs/ardour/ardour/beatbox.h +++ b/libs/ardour/ardour/beatbox.h @@ -17,8 +17,7 @@ */ -#ifndef __ardour_beatbox_h__ -#define __ardour_beatbox_h__ +#pragma once #include #include @@ -71,4 +70,3 @@ class BeatBox : public ARDOUR::Processor { } /* namespace */ -#endif /* __ardour_beatbox_h__ */ diff --git a/libs/ardour/ardour/boost_debug.h b/libs/ardour/ardour/boost_debug.h index 132c17cd02..3bbd059918 100644 --- a/libs/ardour/ardour/boost_debug.h +++ b/libs/ardour/ardour/boost_debug.h @@ -16,8 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __libardour_boost_debug_h__ -#define __libardour_boost_debug_h__ +#pragma once #include "pbd/boost_debug.h" @@ -45,4 +44,3 @@ #define BOOST_SHOW_POINTERS() #endif -#endif /* __libardour_boost_debug_h__ */ diff --git a/libs/ardour/ardour/broadcast_info.h b/libs/ardour/ardour/broadcast_info.h index bd7847c1a5..326e0e85f0 100644 --- a/libs/ardour/ardour/broadcast_info.h +++ b/libs/ardour/ardour/broadcast_info.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_broadcast_info_h__ -#define __ardour_broadcast_info_h__ +#pragma once #include @@ -46,4 +45,3 @@ class LIBARDOUR_API BroadcastInfo : public AudioGrapher::BroadcastInfo } // namespace ARDOUR -#endif /* __ardour_broadcast_info_h__ */ diff --git a/libs/ardour/ardour/buffer.h b/libs/ardour/ardour/buffer.h index 14a406d736..bb95968ef5 100644 --- a/libs/ardour/ardour/buffer.h +++ b/libs/ardour/ardour/buffer.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_buffer_h__ -#define __ardour_buffer_h__ +#pragma once #include @@ -91,4 +90,3 @@ public: } // namespace ARDOUR -#endif // __ardour_buffer_h__ diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h index 95b40958f5..2e17c10086 100644 --- a/libs/ardour/ardour/buffer_set.h +++ b/libs/ardour/ardour/buffer_set.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_buffer_set_h__ -#define __ardour_buffer_set_h__ +#pragma once #ifdef WAF_BUILD #include "libardour-config.h" @@ -229,4 +228,3 @@ private: } // namespace ARDOUR -#endif // __ardour_buffer_set_h__ diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h index 49c8ffc6f0..9c4c91a1f1 100644 --- a/libs/ardour/ardour/bundle.h +++ b/libs/ardour/ardour/bundle.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_bundle_h__ -#define __ardour_bundle_h__ +#pragma once #include #include @@ -183,4 +182,3 @@ public: std::ostream & operator<< (std::ostream & o, ARDOUR::Bundle const &); -#endif /* __ardour_bundle_h__ */ diff --git a/libs/ardour/ardour/butler.h b/libs/ardour/ardour/butler.h index 7c7d33f62c..b56997786b 100644 --- a/libs/ardour/ardour/butler.h +++ b/libs/ardour/ardour/butler.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_butler_h__ -#define __ardour_butler_h__ +#pragma once #include @@ -122,4 +121,3 @@ private: } // namespace ARDOUR -#endif // __ardour_butler_h__ diff --git a/libs/ardour/ardour/caimportable.h b/libs/ardour/ardour/caimportable.h index f39a84a38c..9c78cedec3 100644 --- a/libs/ardour/ardour/caimportable.h +++ b/libs/ardour/ardour/caimportable.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_ca_importable_source_h__ -#define __ardour_ca_importable_source_h__ +#pragma once #include "pbd/failed_constructor.h" #include "ardour/libardour_visibility.h" @@ -56,4 +55,3 @@ class LIBARDOUR_API CAImportableSource : public ImportableSource { } -#endif /* __ardour_ca_importable_source_h__ */ diff --git a/libs/ardour/ardour/capturing_processor.h b/libs/ardour/ardour/capturing_processor.h index fb8354a517..77a8dd1a0c 100644 --- a/libs/ardour/ardour/capturing_processor.h +++ b/libs/ardour/ardour/capturing_processor.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_capturing_processor_h__ -#define __ardour_capturing_processor_h__ +#pragma once #include "ardour/fixed_delay.h" #include "ardour/processor.h" @@ -56,4 +55,3 @@ private: } // namespace ARDOUR -#endif // __ardour_capturing_processor_h__ diff --git a/libs/ardour/ardour/chan_count.h b/libs/ardour/ardour/chan_count.h index a62d5dc70f..87d5fbf066 100644 --- a/libs/ardour/ardour/chan_count.h +++ b/libs/ardour/ardour/chan_count.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_chan_count_h__ -#define __ardour_chan_count_h__ +#pragma once #include #include @@ -216,5 +215,4 @@ private: LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::ChanCount& c); -#endif // __ardour_chan_count_h__ diff --git a/libs/ardour/ardour/chan_mapping.h b/libs/ardour/ardour/chan_mapping.h index 21838a1221..7a17e48499 100644 --- a/libs/ardour/ardour/chan_mapping.h +++ b/libs/ardour/ardour/chan_mapping.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_chan_mapping_h__ -#define __ardour_chan_mapping_h__ +#pragma once #include #include @@ -140,5 +139,4 @@ private: std::ostream& operator<<(std::ostream& o, const ARDOUR::ChanMapping& m); -#endif // __ardour_chan_mapping_h__ diff --git a/libs/ardour/ardour/click.h b/libs/ardour/ardour/click.h index 3af2f16e34..b0aa8545fd 100644 --- a/libs/ardour/ardour/click.h +++ b/libs/ardour/ardour/click.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_click_h__ -#define __ardour_click_h__ +#pragma once #include @@ -63,4 +62,3 @@ protected: }; /* namespace ARDOUR */ -#endif /*__ardour_click_h__ */ diff --git a/libs/ardour/ardour/comparable_shared_ptr.h b/libs/ardour/ardour/comparable_shared_ptr.h index 526e449d21..e670225575 100644 --- a/libs/ardour/ardour/comparable_shared_ptr.h +++ b/libs/ardour/ardour/comparable_shared_ptr.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_comparable_shared_ptr_h__ -#define __ardour_comparable_shared_ptr_h__ +#pragma once #include "ardour/libardour_visibility.h" @@ -60,4 +59,3 @@ class /*LIBARDOUR_API*/ ComparableSharedPtr : public std::shared_ptr } // namespace ARDOUR -#endif // __ardour_comparable_shared_ptr_h__ diff --git a/libs/ardour/ardour/control_group.h b/libs/ardour/ardour/control_group.h index b053ce063e..df74837809 100644 --- a/libs/ardour/ardour/control_group.h +++ b/libs/ardour/ardour/control_group.h @@ -16,8 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __libardour_control_group_h__ -#define __libardour_control_group_h__ +#pragma once #include #include @@ -114,4 +113,3 @@ class LIBARDOUR_API GainControlGroup : public ControlGroup } /* namespace */ -#endif /* __libardour_control_group_h__ */ diff --git a/libs/ardour/ardour/control_group_member.h b/libs/ardour/ardour/control_group_member.h index 4729278dec..ca7e013efb 100644 --- a/libs/ardour/ardour/control_group_member.h +++ b/libs/ardour/ardour/control_group_member.h @@ -16,8 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __libardour_control_group_member_h__ -#define __libardour_control_group_member_h__ +#pragma once namespace ARDOUR { @@ -39,4 +38,3 @@ class LIBARDOUR_API ControlGroupMember } /* namespace */ -#endif /* __libardour_control_group_member_h__ */ diff --git a/libs/ardour/ardour/coreaudiosource.h b/libs/ardour/ardour/coreaudiosource.h index c75e226d98..2cc0dead0e 100644 --- a/libs/ardour/ardour/coreaudiosource.h +++ b/libs/ardour/ardour/coreaudiosource.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __coreaudio_source_h__ -#define __coreaudio_source_h__ +#pragma once #ifdef COREAUDIO105 #include "CAAudioFile.h" @@ -72,5 +71,4 @@ class LIBARDOUR_API CoreAudioSource : public AudioFileSource { }; /* namespace ARDOUR */ -#endif /* __coreaudio_source_h__ */ diff --git a/libs/ardour/ardour/cycle_timer.h b/libs/ardour/ardour/cycle_timer.h index e9f20c3501..29cc76b768 100644 --- a/libs/ardour/ardour/cycle_timer.h +++ b/libs/ardour/ardour/cycle_timer.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_cycle_timer_h__ -#define __ardour_cycle_timer_h__ +#pragma once #include #include @@ -95,4 +94,3 @@ extern StoringTimer ST; #define PT_TIMING_CHECK(x) #endif -#endif /* __ardour_cycle_timer_h__ */ diff --git a/libs/ardour/ardour/cycles.h b/libs/ardour/ardour/cycles.h index 4d4920219e..4cfac2367a 100644 --- a/libs/ardour/ardour/cycles.h +++ b/libs/ardour/ardour/cycles.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_cycles_h__ -#define __ardour_cycles_h__ +#pragma once #include @@ -252,4 +251,3 @@ static inline cycles_t get_cycles(void) #endif -#endif /* __ardour_cycles_h__ */ diff --git a/libs/ardour/ardour/data_type.h b/libs/ardour/ardour/data_type.h index 5eae0dfbb3..54a8619d6f 100644 --- a/libs/ardour/ardour/data_type.h +++ b/libs/ardour/ardour/data_type.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_data_type_h__ -#define __ardour_data_type_h__ +#pragma once #include #include @@ -127,5 +126,4 @@ private: } // namespace ARDOUR -#endif // __ardour_data_type_h__ diff --git a/libs/ardour/ardour/debug.h b/libs/ardour/ardour/debug.h index 3e6f2661fa..0500f96f4f 100644 --- a/libs/ardour/ardour/debug.h +++ b/libs/ardour/ardour/debug.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_debug_h__ -#define __ardour_debug_h__ +#pragma once #include @@ -120,4 +119,3 @@ namespace PBD { } } -#endif /* __ardour_debug_h__ */ diff --git a/libs/ardour/ardour/delayline.h b/libs/ardour/ardour/delayline.h index 8710b58e6d..2f23fff7a4 100644 --- a/libs/ardour/ardour/delayline.h +++ b/libs/ardour/ardour/delayline.h @@ -16,8 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_delayline_h__ -#define __ardour_delayline_h__ +#pragma once #include @@ -81,4 +80,3 @@ private: } // namespace ARDOUR -#endif // __ardour_meter_h__ diff --git a/libs/ardour/ardour/delivery.h b/libs/ardour/ardour/delivery.h index 05db44f797..4e2efc997c 100644 --- a/libs/ardour/ardour/delivery.h +++ b/libs/ardour/ardour/delivery.h @@ -20,8 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_delivery_h__ -#define __ardour_delivery_h__ +#pragma once #include @@ -166,5 +165,4 @@ private: } // namespace ARDOUR -#endif // __ardour__h__ diff --git a/libs/ardour/ardour/directory_names.h b/libs/ardour/ardour/directory_names.h index ea04a8db0b..f55fc47c45 100644 --- a/libs/ardour/ardour/directory_names.h +++ b/libs/ardour/ardour/directory_names.h @@ -20,8 +20,7 @@ */ -#ifndef __ardour_directory_names_h__ -#define __ardour_directory_names_h__ +#pragma once #include "ardour/libardour_visibility.h" @@ -57,4 +56,3 @@ namespace ARDOUR { }; -#endif diff --git a/libs/ardour/ardour/disk_io.h b/libs/ardour/ardour/disk_io.h index 6c3e4dc807..0a6604ac85 100644 --- a/libs/ardour/ardour/disk_io.h +++ b/libs/ardour/ardour/disk_io.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_disk_io_h__ -#define __ardour_disk_io_h__ +#pragma once #include #include @@ -192,4 +191,3 @@ protected: } // namespace ARDOUR -#endif /* __ardour_disk_io_h__ */ diff --git a/libs/ardour/ardour/disk_writer.h b/libs/ardour/ardour/disk_writer.h index bef6d77966..71f930138d 100644 --- a/libs/ardour/ardour/disk_writer.h +++ b/libs/ardour/ardour/disk_writer.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_disk_writer_h__ -#define __ardour_disk_writer_h__ +#pragma once #include #include @@ -208,4 +207,3 @@ private: } // namespace -#endif /* __ardour_disk_writer_h__ */ diff --git a/libs/ardour/ardour/ebur128_analysis.h b/libs/ardour/ardour/ebur128_analysis.h index 23145d8b9f..98e3f10d79 100644 --- a/libs/ardour/ardour/ebur128_analysis.h +++ b/libs/ardour/ardour/ebur128_analysis.h @@ -16,8 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_ebur128_analysis_h__ -#define __ardour_ebur128_analysis_h__ +#pragma once #include "ardour/audioanalyser.h" #include "ardour/readable.h" @@ -49,4 +48,3 @@ private: } /* namespace */ -#endif /* __ardour_audioanalyser_h__ */ diff --git a/libs/ardour/ardour/element_import_handler.h b/libs/ardour/ardour/element_import_handler.h index 0aa26a7cb3..4ca8102069 100644 --- a/libs/ardour/ardour/element_import_handler.h +++ b/libs/ardour/ardour/element_import_handler.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_element_import_handler_h__ -#define __ardour_element_import_handler_h__ +#pragma once #include #include @@ -109,4 +108,3 @@ class LIBARDOUR_API ElementImportHandler } // namespace ARDOUR -#endif diff --git a/libs/ardour/ardour/element_importer.h b/libs/ardour/ardour/element_importer.h index 903152c6fa..2e0f0ff5a0 100644 --- a/libs/ardour/ardour/element_importer.h +++ b/libs/ardour/ardour/element_importer.h @@ -19,8 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_element_importer_h__ -#define __ardour_element_importer_h__ +#pragma once #include #include @@ -132,4 +131,3 @@ class LIBARDOUR_API ElementImporter } // namespace ARDOUR -#endif diff --git a/libs/ardour/ardour/event_ring_buffer.h b/libs/ardour/ardour/event_ring_buffer.h index 1d47cbbcbf..555a2b293d 100644 --- a/libs/ardour/ardour/event_ring_buffer.h +++ b/libs/ardour/ardour/event_ring_buffer.h @@ -16,8 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __ardour_event_ring_buffer_h__ -#define __ardour_event_ring_buffer_h__ +#pragma once #include #include @@ -132,4 +131,3 @@ EventRingBuffer