1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-18 20:42:02 +03:00

replace header guards with #pragma once

This commit is contained in:
Leonid Fedorov
2021-12-14 20:06:05 +03:00
parent ab449ebcc0
commit 01f3ceb437
638 changed files with 638 additions and 1914 deletions

View File

@@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef LOGGING_ERRORCODES_H
#define LOGGING_ERRORCODES_H
#pragma once
#include <sys/types.h>
#include <map>
@@ -97,5 +96,4 @@ private:
};
}
#endif //LOGGING_ERRORCODES_H

View File

@@ -22,8 +22,7 @@
/** @file */
#ifndef LOGGING_EXCEPTCLASSES_H
#define LOGGING_EXCEPTCLASSES_H
#pragma once
#include <iostream>
#include <sstream>
@@ -278,5 +277,4 @@ public:
}
#endif
// vim:ts=4 sw=4:

View File

@@ -22,8 +22,7 @@
/**
* @file
*/
#ifndef LOGGING_IDBERRORINFO_H
#define LOGGING_IDBERRORINFO_H
#pragma once
#include <string>
#include <map>
@@ -65,4 +64,3 @@ private:
}//namespace logging
#endif

View File

@@ -21,8 +21,7 @@
/** @file */
#ifndef LOGGING_LOGGER_H_
#define LOGGING_LOGGER_H_
#pragma once
#include <string>
#include <map>
@@ -92,5 +91,4 @@ typedef boost::shared_ptr<Logger> SPL;
}
#endif

View File

@@ -22,8 +22,7 @@
/**
* @file
*/
#ifndef LOGGING_LOGGINGID_H
#define LOGGING_LOGGINGID_H
#pragma once
#include <string>
@@ -50,4 +49,3 @@ struct LoggingID
}
#endif

View File

@@ -22,8 +22,7 @@
/**
* @file
*/
#ifndef LOGGING_MESSAGELOG_H
#define LOGGING_MESSAGELOG_H
#pragma once
#include <syslog.h>
@@ -154,4 +153,3 @@ void logEventToDataLog(unsigned messageId, const std::string& messageText);
}
#endif

View File

@@ -22,8 +22,7 @@
/**
* @file
*/
#ifndef LOGGING_MESSAGEOBJ_H
#define LOGGING_MESSAGEOBJ_H
#pragma once
#include <string>
#include <vector>
@@ -163,4 +162,3 @@ inline void swap(logging::Message& lhs, logging::Message& rhs)
}//namespace logging
#endif

View File

@@ -23,8 +23,7 @@
/** @file */
#ifndef LOGGING_SQLLOGGER_H_
#define LOGGING_SQLLOGGER_H_
#pragma once
#include <string>
@@ -60,5 +59,4 @@ private:
};
}
#endif

View File

@@ -59,8 +59,7 @@
// 0.30553 100 % 1 Total
//
// Note that you can have overlapping timers which will make your percentages add up to more than 100%.
#ifndef LOGGING_STOPWATCH_H
#define LOGGING_STOPWATCH_H
#pragma once
#include <iostream>
#include <fstream>
#include <list>
@@ -138,4 +137,3 @@ private:
} // end of logging namespace
#endif // STOPWATCH_H