Skip to content

Commit

Permalink
export Initializer::Initializer() for dynamic library
Browse files Browse the repository at this point in the history
  • Loading branch information
idealvin committed Oct 21, 2023
1 parent 31355ab commit 6f59cbc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/co/fast.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ constexpr _fpt _n(double v, int n) { return _fpt(v, n); }
namespace fast {
namespace xx {

struct Initializer {
struct __coapi Initializer {
Initializer();
~Initializer() = default;
};
Expand Down
2 changes: 1 addition & 1 deletion include/co/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace json {
namespace xx {

struct Initializer {
struct __coapi Initializer {
Initializer();
~Initializer() = default;
};
Expand Down
2 changes: 1 addition & 1 deletion include/co/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ __coapi void set_write_cb(const std::function<void(const char*, const void*, siz

namespace xx {

struct Initializer {
struct __coapi Initializer {
Initializer();
~Initializer() = default;
};
Expand Down
2 changes: 1 addition & 1 deletion include/co/mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace co {
namespace xx {

struct Initializer {
struct __coapi Initializer {
Initializer();
~Initializer();
};
Expand Down
2 changes: 1 addition & 1 deletion include/co/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace now {
#ifdef _WIN32
namespace xx {

struct Initializer {
struct __coapi Initializer {
Initializer();
~Initializer() = default;
};
Expand Down

0 comments on commit 6f59cbc

Please sign in to comment.