From 2cee7d49a82ca9b7e75efa811c8af2fb43c32941 Mon Sep 17 00:00:00 2001 From: Brian Bockelman Date: Mon, 17 Nov 2014 11:43:37 -0600 Subject: [PATCH] Fix const-ness of secEnv call. --- src/XrdOuc/XrdOucEnv.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XrdOuc/XrdOucEnv.hh b/src/XrdOuc/XrdOucEnv.hh index 2f0140b5c7a..6b6b3e11fba 100644 --- a/src/XrdOuc/XrdOucEnv.hh +++ b/src/XrdOuc/XrdOucEnv.hh @@ -99,7 +99,7 @@ static bool Import( const char *var, long &val ); // secEnv() returns the security environment; which may be a null pointer. // -inline const XrdSecEntity *secEnv() {return secEntity;} +inline const XrdSecEntity *secEnv() const {return secEntity;} // Use the constructor to define the initial variable settings. The passed // string is duplicated and the copy can be retrieved using Env().