From 37b8f77fd39b3d06182cb5cb9c6ed702cdda2b2c Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sat, 28 May 2022 14:51:40 +0200 Subject: [PATCH] Replace FORCE_INLINE macro with C++17 attribute syntax --- io.hpp | 64 +++++++++++++++++++++++++++------------------------------- 1 file changed, 30 insertions(+), 34 deletions(-) diff --git a/io.hpp b/io.hpp index 508fe47..5148a18 100644 --- a/io.hpp +++ b/io.hpp @@ -45,8 +45,6 @@ #define PIN_C7_AVAILABLE #endif -#define FORCE_INLINE __attribute__((always_inline)) - ////////////////////////////////////////////////////////////////////////// // Library implementation @@ -250,7 +248,7 @@ static inline reg_ptr_t getRegPtr() template