提交 11f81d09 编写于 作者: Q qq_36105691

fix[SQLiteObject.h]

上级 b519245f
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#define DECLARE_PROPERTY(name, type, index) \ #define DECLARE_PROPERTY(name, type, index) \
private: \ private: \
type name = {}; \ type name = {}; \
[[maybe_unused]] int name##Setter = [this]() { \ [[maybe_unused]] int __##name##Setter = [this]() { \
propertiesSetters.emplace_back([&](sqlite3_stmt *stmt) { \ propertiesSetters.emplace_back([&](sqlite3_stmt *stmt) { \
name = Mika::DatabaseManager::getResultValue<type>(stmt, index); \ name = Mika::DatabaseManager::getResultValue<type>(stmt, index); \
}); \ }); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册