1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +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

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
#ifndef MCS_DATA_CONDITION_H
#define MCS_DATA_CONDITION_H
#pragma once
namespace datatypes
{
@ -80,4 +79,3 @@ private:
} // namespace datatypes
#endif // MCS_DATA_CONDITION_H

View File

@ -15,8 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef MCS_DATATYPE_H_INCLUDED
#define MCS_DATATYPE_H_INCLUDED
#pragma once
#include <sstream>
#include <boost/any.hpp>
@ -2883,6 +2882,5 @@ class TypeHandlerTimestamp: public TypeHandlerTemporal
}// end of namespace datatypes
#endif //MCS_DATATYPE_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_DATATYPE_BASIC_H_INCLUDED
#define MCS_DATATYPE_BASIC_H_INCLUDED
#pragma once
/*
This file contains simple definitions that can be
@ -91,5 +90,4 @@ uint64_t xFloatToMCSUInt64Round(SRC value)
} //end of namespace datatypes
#endif // MCS_DATATYPE_BASIC_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef H_DECIMALDATATYPE
#define H_DECIMALDATATYPE
#pragma once
#include <cstdint>
#include <cfloat>
@ -983,4 +982,3 @@ struct NoOverflowCheck {
};
} //end of namespace
#endif

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_DOUBLE_H_INCLUDED
#define MCS_DOUBLE_H_INCLUDED
#pragma once
#include "mcs_datatype_basic.h"
@ -52,5 +51,4 @@ public:
} //end of namespace datatypes
#endif // MCS_DOUBLE_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_TSFLOAT128_H_INCLUDED
#define MCS_TSFLOAT128_H_INCLUDED
#pragma once
#include <cfloat>
#include <cctype>
@ -631,6 +630,5 @@ class TFloat128
} //end of namespace
#endif // MCS_TSFLOAT128_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_INT128_H_INCLUDED
#define MCS_INT128_H_INCLUDED
#pragma once
#include <cfloat>
#include <cstdint>
@ -345,5 +344,4 @@ class TSInt128
} //end of namespace datatypes
#endif // MCS_TSINT128_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_INT64_H_INCLUDED
#define MCS_INT64_H_INCLUDED
#pragma once
#include "exceptclasses.h"
@ -173,5 +172,4 @@ public:
} //end of namespace datatypes
#endif // MCS_INT64_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_LONGDOUBLE_H_INCLUDED
#define MCS_LONGDOUBLE_H_INCLUDED
#pragma once
#include "mcs_datatype_basic.h"
@ -52,5 +51,4 @@ public:
} //end of namespace datatypes
#endif // MCS_LONGDOUBLE_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -15,8 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef MCS_NUMERIC_LIMITS_H_INCLUDED
#define MCS_NUMERIC_LIMITS_H_INCLUDED
#pragma once
#include <limits>
@ -59,4 +58,3 @@ template<> struct numeric_limits<uint128_t>
} // namespace datatypes
#endif // MCS_NUMERIC_LIMITS_H_INCLUDED

View File

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
#ifndef MCS_DATATYPES_STRING_H
#define MCS_DATATYPES_STRING_H
#pragma once
#include "conststring.h"
#include "collation.h" // class Charset
@ -50,4 +49,3 @@ public:
} // namespace datatypes
#endif // MCS_DATATYPES_STRING_H

View File

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
#ifndef NUMERICLITERAL_H
#define NUMERICLITERAL_H
#pragma once
#include "genericparser.h"
#include "mcs_datatype.h"
@ -617,4 +616,3 @@ public:
} // namespace literal
#endif // NUMERICLITERAL_H