Commit bfe6a10c authored by Thomas Braun's avatar Thomas Braun
Browse files

test/Fixture: Prefer std::unique_ptr<Tango::DeviceProxy>

parent fcde1a92
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ class Fixture
        {
            try
            {
                dp = new Tango::DeviceProxy("sys/database/2");
                dp = std::make_unique<Tango::DeviceProxy>("sys/database/2");

                dp->ping();
            }
@@ -115,7 +115,7 @@ class Fixture
        ExecuteInShell("./stop_tdb.sh");
    }

    Tango::DeviceProxy *dp;
    std::unique_ptr<Tango::DeviceProxy> dp;
};

class AddAndExportDeviceFixture : public Fixture