diff options
| author | 2024-09-13 14:54:16 +0100 | |
|---|---|---|
| committer | 2024-09-13 15:01:47 +0100 | |
| commit | 4c9e3aeb8b55c35223485ee91ce964fed4b3625a (patch) | |
| tree | 3c70174bed186d2a70b5b9cc70554caf5654e3ba /modules/extra/pgsql.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
| parent | Use reference<>::ptr() in more places. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/extra/pgsql.cpp')
| -rw-r--r-- | modules/extra/pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/pgsql.cpp b/modules/extra/pgsql.cpp index 63074fef3..e4e656771 100644 --- a/modules/extra/pgsql.cpp +++ b/modules/extra/pgsql.cpp @@ -677,7 +677,7 @@ bool ReconnectTimer::Tick() void SQLConn::DelayReconnect() { status = DEAD; - ModulePgSQL* mod = (ModulePgSQL*)(Module*)creator; + auto* mod = static_cast<ModulePgSQL*>(creator.ptr()); ConnMap::iterator it = mod->connections.find(conf->getString("id")); if (it != mod->connections.end()) |
