From 3e09b0fd523e63595188d9edfd49092d1a66acb3 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Thu, 21 Dec 2000 19:42:03 +0000 Subject: [PATCH] Use an unnamed namespace instead of a static to provide a file-local scope. --- src/iocsh/ioccrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iocsh/ioccrf.cpp b/src/iocsh/ioccrf.cpp index 3c04277c5..b238db33a 100644 --- a/src/iocsh/ioccrf.cpp +++ b/src/iocsh/ioccrf.cpp @@ -45,7 +45,7 @@ struct Cstring_cmp { /* * The table of commands */ -static map commands; +namespace { map commands; } /* * Register a command