From 6bb3a52e9919491800c78f293bcd15cdb17db699 Mon Sep 17 00:00:00 2001 From: Christoph Duelli Date: Thu, 16 May 2013 16:16:32 +0200 Subject: [PATCH] Do not pollute globale namespace with internal classes --- fofi/FoFiIdentifier.cc | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/fofi/FoFiIdentifier.cc b/fofi/FoFiIdentifier.cc index d8ee7e0..2e85cf4 100644 --- a/fofi/FoFiIdentifier.cc +++ b/fofi/FoFiIdentifier.cc @@ -18,6 +18,8 @@ //------------------------------------------------------------------------ +namespace { // do not pollute glonale namespace + class Reader { public: @@ -413,6 +415,8 @@ GBool StreamReader::fillBuf(int pos, int len) { return gTrue; } +} + //------------------------------------------------------------------------ static FoFiIdentifierType identify(Reader *reader); -- 1.6.6.rc3