| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 44f61df commit 5e6ffd9
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2664,8 +2664,7 @@ SQLTagStore::SQLTagStore(Environment* env, | |||
| 2664 | 2664 | int capacity) | |
| 2665 | 2665 | : BaseObject(env, object), | |
| 2666 | 2666 | database_(std::move(database)), | |
| 2667 | - sql_tags_(capacity), | ||
| 2668 | - capacity_(capacity) { | ||
| 2667 | + sql_tags_(capacity) { | ||
| 2669 | 2668 | MakeWeak(); | |
| 2670 | 2669 | } | |
| 2671 | 2670 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -330,7 +330,6 @@ class SQLTagStore : public BaseObject { | |||
| 330 | 330 | const v8::FunctionCallbackInfo<v8::Value>& args); | |
| 331 | 331 | BaseObjectWeakPtr<DatabaseSync> database_; | |
| 332 | 332 | LRUCache<std::string, BaseObjectPtr<StatementSync>> sql_tags_; | |
| 333 | - int capacity_; | ||
| 334 | 333 | friend class StatementExecutionHelper; | |
| 335 | 334 | }; | |
| 336 | 335 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments