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