Skip to content

Commit

Permalink
Merge pull request #135 from Jacyking/master
Browse files Browse the repository at this point in the history
fix bug lack ormpp namespace when REGISTER_AUTO_KEY
  • Loading branch information
Jacyking committed Dec 15, 2023
2 parents c31105f + f3c1bf7 commit c1c0e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inline auto is_auto_key(std::string_view field_name) {

#define REGISTER_AUTO_KEY(STRUCT_NAME, KEY) \
inline auto IGUANA_UNIQUE_VARIABLE(STRUCT_NAME) = \
add_auto_key_field(#STRUCT_NAME, #KEY);
ormpp::add_auto_key_field(#STRUCT_NAME, #KEY);

inline std::unordered_map<std::string_view, std::string_view>
g_ormpp_conflict_key_map;
Expand Down

0 comments on commit c1c0e9c

Please sign in to comment.