1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-02 14:50:17 +01:00

Replace header guards with #pragma once

Signed-off-by: Leon Marz <main@lmarz.org>
This commit is contained in:
Leon Marz
2021-08-22 18:02:10 +02:00
parent 05205a5d6c
commit a6bc896e24
415 changed files with 429 additions and 1685 deletions

View File

@@ -1,5 +1,4 @@
#ifndef __AUDACITY_MEMORY_X_H__
#define __AUDACITY_MEMORY_X_H__
#pragma once
// C++ standard header <memory> with a few extensions
#include <iterator>
@@ -634,5 +633,3 @@ template< typename T > struct NonInterfering
#define LINEAR_TO_DB(x) (20.0 * log10(x))
#define MAX_AUDIO (1. - 1./(1<<15))
#endif // __AUDACITY_MEMORY_X_H__

View File

@@ -8,8 +8,7 @@
**********************************************************************/
#ifndef __AUDACITY_MODULE_CONSTANTS__
#define __AUDACITY_MODULE_CONSTANTS__
#pragma once
#define ModuleDispatchName "ModuleDispatch"
@@ -52,5 +51,3 @@ extern "C" { \
#define DEFINE_MODULE_ENTRIES \
DEFINE_VERSION_CHECK \
extern "C" DLL_API int ModuleDispatch(ModuleDispatchTypes type){ return 1; }
#endif