X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSpacing.C;h=832fe8f1e3d1897884a731aadfdb63e5e21ba08d;hb=c90c5e6386ce69c34c99b3594d6fa452e6a13161;hp=3d39cf4e326ec75538fb0f59e830edee3782d019;hpb=acc7e9789ec79f67c2444b2b325eeca93f6fa578;p=lyx.git diff --git a/src/Spacing.C b/src/Spacing.C index 3d39cf4e32..832fe8f1e3 100644 --- a/src/Spacing.C +++ b/src/Spacing.C @@ -22,8 +22,11 @@ using std::ios; using std::ostream; /// how can I put this inside of Spacing (class) -static -char const * spacing_string[] = {"single", "onehalf", "double", "other"}; +namespace { + +char const * const spacing_string[] = {"single", "onehalf", "double", "other"}; + +} // namespace anon float Spacing::getValue() const