Skip to content

Commit

Permalink
dylib: fix decorations constructors build failure
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier committed Jan 5, 2025
1 parent 32e0aac commit f2a4b25
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions include/dylib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,11 @@ struct decorations {
const char *suffix{""};

static decorations none() noexcept {
return {
"",
"",
};
return decorations();
}

static decorations os_default() noexcept {
return {
return decorations {
DYLIB_WIN_OTHER("", "lib"),
DYLIB_WIN_MAC_OTHER(".dll", ".dylib", ".so"),
};
Expand Down

0 comments on commit f2a4b25

Please sign in to comment.