Skip to content

Commit 76ab2fa

Browse files
committed
Fix MSVC build
1 parent dbf2ae2 commit 76ab2fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/config/ConfigCache.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class ConfigCache : public Firebird::PermanentStorage
5959
public:
6060
PreciseTime()
6161
{
62+
memset(&m_time, 0, sizeof(m_time));
6263
}
6364

6465
PreciseTime(TimeType time)
@@ -78,7 +79,7 @@ class ConfigCache : public Firebird::PermanentStorage
7879
}
7980

8081
private:
81-
TimeType m_time = {};
82+
TimeType m_time;
8283
};
8384

8485
public:

0 commit comments

Comments
 (0)