Skip to content
Snippets Groups Projects
Commit f2ac781f authored by Elvin Alin Sindrilaru's avatar Elvin Alin Sindrilaru
Browse files

XROOTD: Fix compilation error - variable added to the wrong class

parent 685b5ee6
No related branches found
No related tags found
No related merge requests found
......@@ -96,8 +96,7 @@ extern "C"
// Constructor
//------------------------------------------------------------------------------
XrdxCastor2Ofs::XrdxCastor2Ofs():
LogId(),
mIsUpdate(false)
LogId()
{
mLogLevel = LOG_INFO; // log info
}
......@@ -505,6 +504,7 @@ XrdxCastor2OfsFile::XrdxCastor2OfsFile( const char* user, int MonID ) :
isTruncate = false;
viaDestructor = false;
mTpcKey = "";
mIsUpdate = false;
}
......
......@@ -283,6 +283,7 @@ class XrdxCastor2OfsFile : public XrdOfsFile, public LogId
XrdOucString DiskChecksumAlgorithm; ///<
bool verifyChecksum; ///<
std::string mTpcKey; ///< tpc key allocated to this file
bool mIsUpdate; ///< mark if file is opened for update
};
......@@ -485,7 +486,6 @@ class XrdxCastor2Ofs : public XrdOfs, public LogId
int ThirdPartyCopySlotRate; ///< default from Configure
XrdOucString ThirdPartyCopyStateDirectory; ///< default from Configure
int mLogLevel; ///< log level from configuration file
bool mIsUpdate; ///< mark if file is opened for update
XrdSysMutex mTpcMapMutex; ///< mutex to protect access to the TPC map
std::map<std::string, struct TpcInfo> mTpcMap; ///< TPC map of kety to lfn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment