From 3fcb34ca4aa1cbbf02d4b77cf50cb60e95702905 Mon Sep 17 00:00:00 2001 From: Greg Landrum Date: Sun, 14 Jan 2018 05:37:36 +0100 Subject: [PATCH] get this compiling --- Code/GraphMol/Depictor/testDepictor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/GraphMol/Depictor/testDepictor.cpp b/Code/GraphMol/Depictor/testDepictor.cpp index 54315199f..44278514b 100644 --- a/Code/GraphMol/Depictor/testDepictor.cpp +++ b/Code/GraphMol/Depictor/testDepictor.cpp @@ -960,7 +960,7 @@ void testGithub1691() { { SmilesParserParams ps; ps.removeHs = false; - std::unique_ptr mol(SmilesToMol("C1#C2.[F]1.[F]2", ps)); + RWMOL_SPTR mol(SmilesToMol("C1#C2.[F]1.[F]2", ps)); TEST_ASSERT(mol); TEST_ASSERT(mol->getNumAtoms() == 4); @@ -983,7 +983,7 @@ void testGithub1691() { { SmilesParserParams ps; ps.removeHs = false; - std::unique_ptr mol(SmilesToMol("C1#C2.[H]1.[H]2", ps)); + RWMOL_SPTR mol(SmilesToMol("C1#C2.[H]1.[H]2", ps)); TEST_ASSERT(mol); TEST_ASSERT(mol->getNumAtoms() == 4); @@ -1003,7 +1003,7 @@ void testGithub1691() { TEST_ASSERT(v31.dotProduct(v01) <= -1.0); } { - std::unique_ptr mol(SmilesToMol("C#C")); + RWMOL_SPTR mol(SmilesToMol("C#C")); TEST_ASSERT(mol); TEST_ASSERT(mol->getNumAtoms() == 2);