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

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef SMCOMM_H_
#define SMCOMM_H_
#pragma once
#include <sys/stat.h>
#include <string>
@ -77,4 +76,3 @@ class SMComm : public boost::noncopyable
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef SMDATAFILE_H_
#define SMDATAFILE_H_
#pragma once
#include <string>
#include <boost/utility.hpp>
@ -58,4 +57,3 @@ class SMDataFile : public IDBDataFile
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef SMFILEFACTORY_H_
#define SMFILEFACTORY_H_
#pragma once
#include "IDBDataFile.h"
#include "FileFactoryBase.h"
@ -31,4 +30,3 @@ class SMFileFactory : public FileFactoryBase
};
}
#endif

View File

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
#ifndef SMFILESYSTEM_H_
#define SMFILESYSTEM_H_
#pragma once
#include <list>
#include <string>
@ -50,4 +49,3 @@ class SMFileSystem : public IDBFileSystem, boost::noncopyable
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef _SOCKETPOOL_H_
#define _SOCKETPOOL_H_
#pragma once
#include <boost/utility.hpp>
#include <boost/thread/mutex.hpp>
@ -56,4 +55,3 @@ class SocketPool : public boost::noncopyable
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef _SMEXECEPTIONS_H_
#define _SMEXECEPTIONS_H_
#pragma once
#include <exception>
@ -36,4 +35,3 @@ NotImplementedYet::NotImplementedYet(const std::string &s) :
}
}
#endif