Skip to content
Snippets Groups Projects
Commit d1c8a081 authored by Jan Knedlik's avatar Jan Knedlik Committed by Axel Naumann
Browse files

modified constructor to not be ambiguous

parent 204033a4
No related branches found
No related tags found
No related merge requests found
// @(#)root/netxng:$Id$
/************************************************************************* /*************************************************************************
* Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. * * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. *
* All rights reserved. * * All rights reserved. *
...@@ -57,12 +57,11 @@ public: ...@@ -57,12 +57,11 @@ public:
TNetXNGFile() : TFile(), TNetXNGFile() : TFile(),
fFile(0), fUrl(0), fMode(XrdCl::OpenFlags::None), fInitCondVar(0), fFile(0), fUrl(0), fMode(XrdCl::OpenFlags::None), fInitCondVar(0),
fReadvIorMax(0), fReadvIovMax(0) {} fReadvIorMax(0), fReadvIovMax(0) {}
TNetXNGFile(const char *url, const char *lurl, Option_t *mode = "", const char *title = "",
Int_t compress = 1, Int_t netopt = 0, Bool_t parallelopen = kFALSE);
TNetXNGFile(const char *url, Option_t *mode = "", const char *title = "", TNetXNGFile(const char *url, Option_t *mode = "", const char *title = "",
Int_t compress = 1, Int_t netopt = 0, Bool_t parallelopen = kFALSE, Int_t compress = 1, Int_t netopt = 0, Bool_t parallelopen = kFALSE);
const char *lurl = 0);
TNetXNGFile(const char *url, Option_t *mode = "", const char *title = "",
Int_t compress = 1, Int_t netopt = 0, Bool_t parallelopen = kFALSE
);
virtual ~TNetXNGFile(); virtual ~TNetXNGFile();
virtual void Init(Bool_t create); virtual void Init(Bool_t create);
......
...@@ -128,15 +128,15 @@ TNetXNGFile::TNetXNGFile(const char *url, ...@@ -128,15 +128,15 @@ TNetXNGFile::TNetXNGFile(const char *url,
Int_t compress, Int_t compress,
Int_t netopt, Int_t netopt,
Bool_t parallelopen) : Bool_t parallelopen) :
TNetXNGFile(url,mode,title,compress,netopt,parallelopen,0){} TNetXNGFile(url,0,mode,title,compress,netopt,parallelopen){}
TNetXNGFile::TNetXNGFile(const char *url, TNetXNGFile::TNetXNGFile(const char *url,
const char *lurl,
Option_t *mode, Option_t *mode,
const char *title, const char *title,
Int_t compress, Int_t compress,
Int_t /*netopt*/, Int_t /*netopt*/,
Bool_t parallelopen, Bool_t parallelopen) :
const char *lurl) :
TFile((lurl ? lurl : url), "NET", title, compress) TFile((lurl ? lurl : url), "NET", title, compress)
{ {
using namespace XrdCl; using namespace XrdCl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment