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

@ -22,8 +22,7 @@
* *
***************************************************************************/
#ifndef BLOCKCACHEREQUESTCLIENT_H
#define BLOCKCACHEREQUESTCLIENT_H
#pragma once
#include "blockrequestprocessor.h"
#include "brmtypes.h"
@ -108,4 +107,3 @@ private:
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef BLOCKREQUESTPROCESSOR_H
#define BLOCKREQUESTPROCESSOR_H
#pragma once
/***************************************************************************
*
@ -136,4 +135,3 @@ private:
};
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef FILEBLOCKREQUESTQUEUE_H
#define FILEBLOCKREQUESTQUEUE_H
#pragma once
/***************************************************************************
*
@ -113,4 +112,3 @@ private:
};
}
#endif

View File

@ -23,8 +23,7 @@
* *
***************************************************************************/
#ifndef FILEBUFFER_H
#define FILEBUFFER_H
#pragma once
#include <stdio.h>
#include <stdlib.h>
@ -186,4 +185,3 @@ private:
typedef std::vector<FileBuffer> FileBufferPool_t;
}
#endif

View File

@ -22,8 +22,7 @@
* *
***************************************************************************/
#ifndef FILEBUFFERMGR_H
#define FILEBUFFERMGR_H
#pragma once
#include <pthread.h>
#include "blocksize.h"
#include "filebuffer.h"
@ -198,4 +197,3 @@ private:
void depleteCache();
};
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef FILEREQUEST_H
#define FILEREQUEST_H
#pragma once
/***************************************************************************
*
@ -256,4 +255,3 @@ private:
enum request_type_enum fRqstType;
};
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef IOMANAGER_H
#define IOMANAGER_H
#pragma once
// $Id: iomanager.h 655 2008-07-08 16:42:54Z jrodriguez $
//
// C++ Interface: iomanager
@ -108,5 +107,4 @@ private:
};
}
#endif
// vim:ts=4 sw=4:

View File

@ -21,8 +21,7 @@
/** @file */
#ifndef PRIMPROC_LOGGER_H_
#define PRIMPROC_LOGGER_H_
#pragma once
#include <map>
#include <boost/thread.hpp>
@ -65,5 +64,4 @@ private:
}
#endif

View File

@ -21,8 +21,7 @@
/** @file */
#ifndef PRIMPROC_STATS_H
#define PRIMPROC_STATS_H
#pragma once
#include <pthread.h>
#include <boost/thread.hpp>
@ -65,4 +64,3 @@ private:
}
#endif //PRIMPROC_STATS_H