1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -26,8 +26,7 @@
* Author: bpaul
*/
#ifndef WE_BRMRPRTPARSER_H_
#define WE_BRMRPRTPARSER_H_
#pragma once
#include <fstream>
#include <iostream>
@ -71,4 +70,3 @@ private:
};
} /* namespace WriteEngine */
#endif /* WE_BRMRPRTPARSER_H_ */

View File

@ -19,8 +19,7 @@
* $Id: we_cleartablelockcmd.h 4450 2013-01-21 14:13:24Z rdempsey $
*
*******************************************************************************/
#ifndef WE_CLEARTABLELOCKCMD_H__
#define WE_CLEARTABLELOCKCMD_H__
#pragma once
#include <string>
@ -61,4 +60,3 @@ private:
}
#endif

View File

@ -27,8 +27,7 @@
* Author: bpaul
*/
#ifndef WE_CPIFEEDERTHREAD_H_
#define WE_CPIFEEDERTHREAD_H_
#pragma once
#include <queue>
@ -93,4 +92,3 @@ private:
} /* namespace WriteEngine */
#endif /* WE_CPIFEEDERTHREAD_H_ */

View File

@ -30,8 +30,7 @@
#ifndef WE_DATALOADER_H_
#define WE_DATALOADER_H_
#pragma once
#include "rwlock_local.h"
#include "resourcemanager.h"
@ -218,4 +217,3 @@ public:
}
#endif /* WE_DATALOADER_H_ */

View File

@ -19,8 +19,7 @@
* $Id: we_ddlcommandproc.h 3043 2011-08-29 22:03:03Z chao $
*
*******************************************************************************/
#ifndef WE_DDLCOMMANDPROC_H__
#define WE_DDLCOMMANDPROC_H__
#pragma once
#include <unistd.h>
#include "bytestream.h"
@ -116,4 +115,3 @@ private:
};
}
#undef EXPORT
#endif

View File

@ -21,8 +21,7 @@
*******************************************************************************/
#ifndef WE_DDLCOMMON_H
#define WE_DDLCOMMON_H
#pragma once
#include <string>
#include <stdexcept>
@ -330,5 +329,4 @@ inline void convertRidToColumn(uint64_t& rid, unsigned& dbRoot, unsigned& partit
}
#undef EXPORT
#endif

View File

@ -19,8 +19,7 @@
* $Id: we_ddlcommandproc.h 3043 2011-08-29 22:03:03Z chao $
*
*******************************************************************************/
#ifndef WE_DMLCOMMANDPROC_H__
#define WE_DMLCOMMANDPROC_H__
#pragma once
#include <unistd.h>
#include <boost/scoped_ptr.hpp>
@ -137,4 +136,3 @@ private:
}
#undef EXPORT
#endif

View File

@ -19,8 +19,7 @@
* $Id: we_getfilesizes.h 4450 2013-04-15 14:13:24Z chao $
*
*******************************************************************************/
#ifndef WE_GETFILESIZES_H__
#define WE_GETFILESIZES_H__
#pragma once
#include <unistd.h>
#include <string>
@ -81,4 +80,3 @@ private:
}
#endif

View File

@ -19,8 +19,7 @@
* $Id: we_message_handlers.h 4450 2013-01-21 14:13:24Z rdempsey $
*
*******************************************************************************/
#ifndef WE_MESSAGE_HANDLERS_H__
#define WE_MESSAGE_HANDLERS_H__
#pragma once
#include "bytestream.h"
@ -32,5 +31,4 @@ extern messageqcpp::ByteStream::byte doMsg2(messageqcpp::ByteStream& bs, std::st
extern messageqcpp::ByteStream::byte doUpdateSyscolumnNextval(messageqcpp::ByteStream& bs, std::string err);
}
#endif

View File

@ -19,8 +19,7 @@
* $Id: we_messages.h 4609 2013-04-19 15:32:02Z chao $
*
*******************************************************************************/
#ifndef WE_MESSAGES_H__
#define WE_MESSAGES_H__
#pragma once
namespace WriteEngine
{
@ -118,5 +117,4 @@ enum ServerMessages
}
#endif

View File

@ -27,8 +27,7 @@
* Author: bpaul@calpont.com
*/
#ifndef OBSERVER_H_
#define OBSERVER_H_
#pragma once
#include <list>
@ -66,4 +65,3 @@ private:
}
#endif /* OBSERVER_H_ */

View File

@ -19,8 +19,7 @@
* $Id: we_readthread.h 4609 2013-04-19 15:32:02Z chao $
*
*******************************************************************************/
#ifndef WE_SRV_READTHREAD_H__
#define WE_SRV_READTHREAD_H__
#pragma once
#include <unistd.h>
#include <boost/shared_ptr.hpp>
@ -156,5 +155,4 @@ public:
}
#endif