Skip to content

Commit

Permalink
fix: set global variables as static
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 21, 2024
1 parent 6dd1640 commit b3dcb5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/electron_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include <string>

namespace zmq {
bool hasRun = false;
bool hasElectronMemoryCageCache = false;
static bool hasRun = false;
static bool hasElectronMemoryCageCache = false;

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

0 comments on commit b3dcb5d

Please sign in to comment.