From f46afefd77247e21041840c583bf408696c3e42e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Fri, 30 Dec 2016 10:48:34 +0000 Subject: [PATCH] Made MyGR_monitor_node::idx_last_entry private --- include/MySQL_Monitor.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/MySQL_Monitor.hpp b/include/MySQL_Monitor.hpp index 96a38031f..75be49f77 100644 --- a/include/MySQL_Monitor.hpp +++ b/include/MySQL_Monitor.hpp @@ -41,11 +41,12 @@ typedef struct _MyGR_status_entry_t { class MyGR_monitor_node { + private: + int idx_last_entry; public: char *addr; int port; unsigned int writer_hostgroup; - int idx_last_entry; MyGR_status_entry_t last_entries[MyGR_Nentries]; MyGR_monitor_node(char *_a, int _p, int _whg); ~MyGR_monitor_node();