Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/Dynamic: unary_function got removed from std in c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Jan 7, 2024
1 parent b3b0bb0 commit 79cac13
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 66 deletions.
File renamed without changes.
61 changes: 0 additions & 61 deletions .github/workflows/gcc14.yml

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Build Status
[![windows-build](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/windows.yml/badge.svg)](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/windows.yml)
[![GCC](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/gcc.yml/badge.svg)](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/gcc.yml)
[![GCC11](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/gcc11.yml/badge.svg)](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/gcc11.yml)
[![GCC13](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/gcc13.yml/badge.svg)](https://github.com/ProjectSkyfire/SkyFire_548/actions/workflows/gcc13.yml)
# [![CodeFactor](https://www.codefactor.io/repository/github/projectskyfire/skyfire_548/badge)](https://www.codefactor.io/repository/github/projectskyfire/skyfire_548)
# [![Codacy Badge](https://app.codacy.com/project/badge/Grade/57a11392c3ed42dcae439669e893565f)](https://app.codacy.com/gh/ProjectSkyfire/SkyFire_548/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)

Expand Down
5 changes: 1 addition & 4 deletions src/server/shared/Dynamic/UnaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#ifndef SKYFIRE_UNARY_FUNCTION_H
#define SKYFIRE_UNARY_FUNCTION_H

#if COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1910 && _HAS_CXX17
template<class ArgumentType, class ResultType>
struct unary_function
{
Expand All @@ -15,7 +14,5 @@ struct unary_function
};

#define SF_UNARY_FUNCTION unary_function
#else
#define SF_UNARY_FUNCTION std::unary_function

#endif
#endif

0 comments on commit 79cac13

Please sign in to comment.