You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
replace header guards with #pragma once
This commit is contained in:
@ -22,8 +22,7 @@
|
||||
****************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCEXP_H
|
||||
#define FUNCEXP_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -118,5 +117,4 @@ inline void FuncExp::evaluate( rowgroup::RowGroup& rowgroup, execplan::ParseTree
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -32,8 +32,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCEXPWRAPPER_H_
|
||||
#define FUNCEXPWRAPPER_H_
|
||||
#pragma once
|
||||
|
||||
#include <parsetree.h>
|
||||
#include <returnedcolumn.h>
|
||||
@ -81,4 +80,3 @@ inline uint32_t FuncExpWrapper::getFilterCount() const
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCHELPERS_H__
|
||||
#define FUNCHELPERS_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -793,4 +792,3 @@ const char* convNumToStr(int64_t, char*, int);
|
||||
} //namespace funcexp::helpers
|
||||
} //namespace funcexp
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_H
|
||||
#define FUNCTOR_H
|
||||
#pragma once
|
||||
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
@ -291,7 +290,6 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_ALL_H
|
||||
#define FUNCTOR_ALL_H
|
||||
#pragma once
|
||||
|
||||
#include "functor.h"
|
||||
|
||||
@ -606,4 +605,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_BOOL_H
|
||||
#define FUNCTOR_BOOL_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "functor.h"
|
||||
@ -326,4 +325,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_DTM_H
|
||||
#define FUNCTOR_DTM_H
|
||||
#pragma once
|
||||
|
||||
#include "functor.h"
|
||||
|
||||
@ -580,4 +579,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_EXPORT_H
|
||||
#define FUNCTOR_EXPORT_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "functor.h"
|
||||
@ -82,4 +81,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_INT_H
|
||||
#define FUNCTOR_INT_H
|
||||
#pragma once
|
||||
|
||||
#include "functor.h"
|
||||
|
||||
@ -752,4 +751,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_REAL_H
|
||||
#define FUNCTOR_REAL_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "functor.h"
|
||||
@ -776,4 +775,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef FUNCTOR_STR_H
|
||||
#define FUNCTOR_STR_H
|
||||
#pragma once
|
||||
|
||||
#include "functor.h"
|
||||
#include "sql_crypt.h"
|
||||
@ -1021,4 +1020,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -46,8 +46,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _SHA1_H_
|
||||
#define _SHA1_H_
|
||||
#pragma once
|
||||
|
||||
namespace funcexp
|
||||
{
|
||||
@ -110,4 +109,3 @@ private:
|
||||
|
||||
} //namespace
|
||||
|
||||
#endif
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _SQL_CRYPT_H_
|
||||
#define _SQL_CRYPT_H_
|
||||
#pragma once
|
||||
|
||||
//#include "my_global.h"
|
||||
/* Macros to make switching between C and C++ mode easier */
|
||||
@ -37,4 +36,3 @@ class SQL_CRYPT
|
||||
}
|
||||
|
||||
|
||||
#endif /* _SQL_CRYPT_H_ */
|
||||
|
@ -25,10 +25,8 @@ DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef UTF8_FOR_CPP_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#define UTF8_FOR_CPP_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#pragma once
|
||||
|
||||
#include "utf8/checked.h"
|
||||
#include "utf8/unchecked.h"
|
||||
|
||||
#endif // header guard
|
||||
|
@ -25,8 +25,7 @@ DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef UTF8_FOR_CPP_CHECKED_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#define UTF8_FOR_CPP_CHECKED_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#pragma once
|
||||
|
||||
#include "core.h"
|
||||
#include <stdexcept>
|
||||
@ -389,6 +388,5 @@ public:
|
||||
|
||||
} // namespace utf8
|
||||
|
||||
#endif //header guard
|
||||
|
||||
|
||||
|
@ -25,8 +25,7 @@ DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef UTF8_FOR_CPP_CORE_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#define UTF8_FOR_CPP_CORE_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
#include <iterator>
|
||||
@ -336,6 +335,5 @@ inline bool is_bom (octet_iterator it)
|
||||
}
|
||||
} // namespace utf8
|
||||
|
||||
#endif // header guard
|
||||
|
||||
|
||||
|
@ -25,8 +25,7 @@ DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef UTF8_FOR_CPP_UNCHECKED_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#define UTF8_FOR_CPP_UNCHECKED_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
|
||||
#pragma once
|
||||
|
||||
#include "core.h"
|
||||
|
||||
@ -250,5 +249,4 @@ public:
|
||||
} // namespace utf8
|
||||
|
||||
|
||||
#endif // header guard
|
||||
|
||||
|
Reference in New Issue
Block a user