From 56af87bb43d6e506f99983b33b0935101c3c4dfa Mon Sep 17 00:00:00 2001
From: Sebastien Ponce <sponcec3@cern.ch>
Date: Thu, 24 May 2012 15:15:07 +0000
Subject: [PATCH] Added default castor.conf filename to the getConfig method

---
 castor/common/CastorConfiguration.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/castor/common/CastorConfiguration.hpp b/castor/common/CastorConfiguration.hpp
index e104a5e791..4e4fd15edb 100644
--- a/castor/common/CastorConfiguration.hpp
+++ b/castor/common/CastorConfiguration.hpp
@@ -63,7 +63,7 @@ namespace castor {
        * static method for getting a given configuration
        * @param fileName the name of the file to be used for filling this configuration
        */
-      static CastorConfiguration& getConfig(const std::string filename)
+      static CastorConfiguration& getConfig(const std::string filename = "/etc/castor/castor.conf")
         throw (castor::exception::Exception);
         
     public:
-- 
GitLab