feat use discard
This commit is contained in:
parent
b0cd2d363b
commit
e8ccb6aebd
@ -2,7 +2,9 @@
|
||||
#define SLED_LANG_ATTRIBUTES_H
|
||||
#pragma once
|
||||
|
||||
#define SLED_DEPRECATED __attribute__((deprecated))
|
||||
// #define SLED_DEPRECATED __attribute__((deprecated))
|
||||
#define SLED_NODISCARD [[nodiscard]]
|
||||
#define SLED_DEPRECATED [[deprecated]]
|
||||
|
||||
#if defined(__clang__) && (!defined(SWIG))
|
||||
#define SLED_THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x))
|
||||
|
@ -8,6 +8,7 @@
|
||||
#ifndef SLED_STRINGS_BASE64_H
|
||||
#define SLED_STRINGS_BASE64_H
|
||||
|
||||
#include "sled/nonstd/string_view.h"
|
||||
#include "sled/status_or.h"
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user