mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
feat(tools): Add macro to instruct the compiler to always inline
This commit is contained in:
committed by
Alexey Rybalchenko
parent
0e12c57ff0
commit
126475e7d2
14
fairmq/tools/Compiler.h
Normal file
14
fairmq/tools/Compiler.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/********************************************************************************
|
||||
* Copyright (C) 2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
|
||||
* *
|
||||
* This software is distributed under the terms of the *
|
||||
* GNU Lesser General Public Licence (LGPL) version 3, *
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef FAIR_MQ_TOOLS_COMPILER_H
|
||||
#define FAIR_MQ_TOOLS_COMPILER_H
|
||||
|
||||
#define __FAIRMQ_ALWAYS_INLINE __attribute__((always_inline)) inline
|
||||
|
||||
#endif /* FAIR_MQ_TOOLS_COMPILER_H */
|
Reference in New Issue
Block a user