Changed protocol_string_map's storage class from external to internal.
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sun, 19 Feb 2012 20:56:14 +0000 (18:56 -0200)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sun, 19 Feb 2012 20:56:14 +0000 (18:56 -0200)
src/host/pingprotocol.cpp

index 0241895..9522045 100644 (file)
@@ -27,7 +27,7 @@ on this file might be covered by the GNU General Public License.
 
 using namespace std;
 
-map<string, PingProtocol> protocol_string_map;
+static map<string, PingProtocol> protocol_string_map;
 
 PingProtocol get_ping_protocol_from_string( const string & protocol_string )
 {