diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-25 17:56:35 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-25 17:56:35 +0800 |
| commit | 12007f9876011c56479f2af75d1657f0c50166ed (patch) | |
| tree | 089c9f5cfbce25b1339615b68ae7a9cda4dc9760 /include/cru/base/Buffer.h | |
| parent | 376d5bfe0f3b9658cbf2d4ca9b00c0600341ee85 (diff) | |
| download | cru-12007f9876011c56479f2af75d1657f0c50166ed.tar.gz cru-12007f9876011c56479f2af75d1657f0c50166ed.tar.bz2 cru-12007f9876011c56479f2af75d1657f0c50166ed.zip | |
Fix a wrong copy leading to win dynamic build failure.
Diffstat (limited to 'include/cru/base/Buffer.h')
| -rw-r--r-- | include/cru/base/Buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/base/Buffer.h b/include/cru/base/Buffer.h index bc2e2a26..17da4ada 100644 --- a/include/cru/base/Buffer.h +++ b/include/cru/base/Buffer.h @@ -3,8 +3,8 @@ #include "Base.h" namespace cru { -class Buffer final { - friend void swap(Buffer& left, Buffer& right) noexcept; +class CRU_BASE_API Buffer final { + friend CRU_BASE_API void swap(Buffer& left, Buffer& right) noexcept; public: Buffer(); @@ -157,5 +157,5 @@ class Buffer final { Index used_end_; }; -void swap(Buffer& left, Buffer& right) noexcept; +CRU_BASE_API void swap(Buffer& left, Buffer& right) noexcept; } // namespace cru |
