You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-02 17:22:27 +03:00
replace header guards with #pragma once
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -22,8 +22,7 @@
|
||||
/**
|
||||
* @file
|
||||
*/
|
||||
#ifndef LOGGING_LOGGINGID_H
|
||||
#define LOGGING_LOGGINGID_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -50,4 +49,3 @@ struct LoggingID
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -23,8 +23,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef LOGGING_SQLLOGGER_H_
|
||||
#define LOGGING_SQLLOGGER_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -60,5 +59,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user