screen_capture_lite icon indicating copy to clipboard operation
screen_capture_lite copied to clipboard

Use atomic shared ptr instead of deprecated overload

Open TopoIogist opened this issue 4 years ago • 3 comments
trafficstars

This removed the msvc warnings when compiling with language set to C++20 or newer.

TopoIogist avatar Nov 08 '21 22:11 TopoIogist

Seems like some compilers still don't like this.. Well..

TopoIogist avatar Nov 08 '21 22:11 TopoIogist

Yeah looks like apple and clang still dont support this :(

smasherprog avatar Nov 09 '21 22:11 smasherprog

Its a strange world with VS supports functionality that clang doesnt

smasherprog avatar Nov 09 '21 22:11 smasherprog

What about using #if defined(_WIN32) && defined(__cplusplus) && __cplusplus >= 202002L ?

Renardjojo avatar Oct 02 '22 16:10 Renardjojo

Create a pr on it! lets check it out

smasherprog avatar Oct 03 '22 14:10 smasherprog

Pull request done here

Renardjojo avatar Oct 06 '22 21:10 Renardjojo