Skip to content

Commit 6a4af3f

Browse files
committed
* fix: 使 operator""_shm inline.
1 parent e558dd4 commit 6a4af3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ipcator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ namespace literals {
635635
* assert( reader[9] == 9 );
636636
* ```
637637
*/
638-
auto operator""_shm(const char *const name, [[maybe_unused]] std::size_t) {
638+
inline auto operator""_shm(const char *const name, [[maybe_unused]] std::size_t) {
639639
struct ShM_Constructor_Proxy {
640640
const char *const name;
641641
auto operator[](const std::size_t size) const {

0 commit comments

Comments
 (0)