diff DTT/src/cmd/cmdapi.hh DTT/src/cmd/cmdapi.hh
--- DTT/src/cmd/cmdapi.hh
+++ DTT/src/cmd/cmdapi.hh
@@ -519,7 +519,7 @@ namespace diag {
/// last notification message lines
std::deque<std::string> lastnotification;
/// notification message list
- std::auto_ptr<std::ostringstream> nMessages;
+ std::unique_ptr<std::ostringstream> nMessages;
/** Prints a line to the output of the command line.
diff DTT/src/cmd/gdscmd.cc DTT/src/cmd/gdscmd.cc
--- DTT/src/cmd/gdscmd.cc
+++ DTT/src/cmd/gdscmd.cc
@@ -178,7 +178,7 @@ extern "C"
/* initialize supervisory */
- auto_ptr<supervisory> super (s->self());
+ unique_ptr<supervisory> super (s->self());
testErrmsg = "Unable to create supervisory task";
diff DTT/src/diag/stdsuper.hh DTT/src/diag/stdsuper.hh
--- DTT/src/diag/stdsuper.hh
+++ DTT/src/diag/stdsuper.hh
@@ -153,9 +153,9 @@ namespace diag {
/// excitation manager for the test signals
excitationManager testExc;
- std::auto_ptr<testiterator> testiter;
+ std::unique_ptr<testiterator> testiter;
- std::auto_ptr<diagtest> test;
+ std::unique_ptr<diagtest> test;
/** Runs the standard supervisory task in real time mode.
@memo Run real-time method.
diff DTT/src/gui/diagctrl.hh DTT/src/gui/diagctrl.hh
--- DTT/src/gui/diagctrl.hh
+++ DTT/src/gui/diagctrl.hh
@@ -475,7 +475,7 @@ namespace diag {
/// Sweep points data array
- std::auto_ptr<BasicDataDescriptor> fSweepPoints;
+ std::unique_ptr<BasicDataDescriptor> fSweepPoints;
diff DTT/src/gui/diagplot.cc DTT/src/gui/diagplot.cc
--- DTT/src/gui/diagplot.cc
+++ DTT/src/gui/diagplot.cc
@@ -154,7 +154,7 @@ namespace ligogui {
free (fTable); fTable = 0;
Int_t width = fXYData ? (fTableWidth + 1) : fTableWidth;
- fCmdLine->getData (string (fName), fTable,
+ fCmdLine->getData (string(fName.Data()), fTable,
fLength * width, (IsComplex() ? 1 : 0));
int d = IsComplex() ? 2 : 1;