We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f477e34 commit 50118d9Copy full SHA for 50118d9
include/redis-cpp/detail/config.h
@@ -14,4 +14,10 @@
14
#error "RedisCpp. Requires C++ 17 or higher."
15
#endif
16
17
+#ifdef REDISCPP_HEADER_ONLY
18
+# define REDISCPP_INLINE inline
19
+#elif
20
+# define REDISCPP_INLINE
21
+#endif // !REDISCPP_HEADER_ONLY
22
+
23
#endif // !REDISCPP_DETAIL_CONFIG_H_
include/redis-cpp/resp/deserialization.h
@@ -30,9 +30,7 @@ inline namespace resp
30
namespace deserialization
31
{
32
[[nodiscard]]
33
-#ifdef REDISCPP_HEADER_ONLY
34
-inline
35
-#endif // !REDISCPP_HEADER_ONLY
+REDISCPP_INLINE
36
auto get_mark(std::istream &stream)
37
38
switch (stream.get())
0 commit comments