conf-file-processor: fix empty file creation if conf file is same as dynamic

refs: #5071

Change-Id: I031381156d3c9aee21bb8ab7d018a37189e4a321
diff --git a/src/conf-parameter.hpp b/src/conf-parameter.hpp
index df541a5..7848676 100644
--- a/src/conf-parameter.hpp
+++ b/src/conf-parameter.hpp
@@ -466,8 +466,10 @@
   void
   writeLog();
 
-private:
+PUBLIC_WITH_TESTS_ELSE_PRIVATE:
   std::string m_confFileName;
+  std::string m_confFileNameDynamic;
+private:
   ndn::Name m_routerName;
   ndn::Name m_siteName;
   ndn::Name m_network;
@@ -506,8 +508,6 @@
 
   int32_t m_syncProtocol;
 
-  std::string m_confFileNameDynamic;
-
 PUBLIC_WITH_TESTS_ELSE_PRIVATE:
   static const uint64_t SYNC_VERSION;