From 87459dcf8008791b0299794d6504d00442df1ef4 Mon Sep 17 00:00:00 2001 From: Enno Ruijters Date: Thu, 1 Feb 2024 22:57:54 +0100 Subject: [PATCH] Fix compilation in combination with CADP --- dftcalc/dftcalc.cpp | 1 + dfttest/dfttest.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/dftcalc/dftcalc.cpp b/dftcalc/dftcalc.cpp index 540cec2..379950a 100644 --- a/dftcalc/dftcalc.cpp +++ b/dftcalc/dftcalc.cpp @@ -266,6 +266,7 @@ std::string DFT::DFTCalc::getRoot() { #endif if(messageFormatter) messageFormatter->reportAction("DFT2LNTROOT is: " + dft2lntRoot,VERBOSITY_DATA); +end: return dft2lntRoot; } diff --git a/dfttest/dfttest.cpp b/dfttest/dfttest.cpp index 6a418f1..468ab15 100644 --- a/dfttest/dfttest.cpp +++ b/dfttest/dfttest.cpp @@ -248,6 +248,7 @@ std::string getRoot(MessageFormatter* messageFormatter) { #endif if(messageFormatter) messageFormatter->reportAction("DFT2LNTROOT is: " + dft2lntRoot,VERBOSITY_DATA); +end: return dft2lntRoot; }