Skip to content

Commit a83f665

Browse files
committed
fix: set global variables as static
1 parent 8eb8359 commit a83f665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/electron_helper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include <string>
66

77
namespace zmq {
8-
bool hasRun = false;
9-
bool hasElectronMemoryCageCache = false;
8+
static bool hasRun = false;
9+
static bool hasElectronMemoryCageCache = false;
1010

1111
static inline std::string first_component(std::string const& value) {
1212
std::string::size_type const pos = value.find('.');

0 commit comments

Comments
 (0)