Skip to content

Commit 8abd3a4

Browse files
committed
* fix: 使 generate_shm_UUName() inline.
1 parent 6a4af3f commit 8abd3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ipcator.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ inline namespace utils {
672672
* std::cout << name << '\n';
673673
* ```
674674
*/
675-
auto generate_shm_UUName() noexcept {
675+
inline auto generate_shm_UUName() noexcept {
676676
constexpr auto len_name = 31uz - sizeof(std::size_t);
677677
constexpr auto prefix = "ipcator";
678678
constexpr auto available_chars = "0123456789"

0 commit comments

Comments
 (0)