Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Jun 9, 2020
1 parent 919a510 commit d0dc200
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@
// Prefer gnu::deprecated, otherwise gcc complains if we use
// [[deprecated]] together with pedantic.
#ifndef CPPHTTPLIB_DEPRECATED
# if defined(__has_cpp_attribute)
# if __has_cpp_attribute(gnu::deprecated)
# define CPPHTTPLIB_DEPRECATED [[gnu::deprecated]]
# else
# if __has_cpp_attribute(deprecated)
# define CPPHTTPLIB_DEPRECATED [[deprecated]]
# else
# define CPPHTTPLIB_DEPRECATED
# endif
# endif
# else
# define CPPHTTPLIB_DEPRECATED
# endif
#if defined(__has_cpp_attribute)
#if __has_cpp_attribute(gnu::deprecated)
#define CPPHTTPLIB_DEPRECATED [[gnu::deprecated]]
#else
#if __has_cpp_attribute(deprecated)
#define CPPHTTPLIB_DEPRECATED [[deprecated]]
#else
#define CPPHTTPLIB_DEPRECATED
#endif
#endif
#else
#define CPPHTTPLIB_DEPRECATED
#endif
#endif

/*
Expand Down

0 comments on commit d0dc200

Please sign in to comment.