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:
@@ -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__
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user