From d1f409530db6f9b712fd672c4c3154cac7eebad1 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 1 Jun 2024 17:09:44 +0800 Subject: HALF WORK: refactor something and implement part of subprocess. --- src/common/Exception.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/Exception.cpp') diff --git a/src/common/Exception.cpp b/src/common/Exception.cpp index 37fa0038..4110ad56 100644 --- a/src/common/Exception.cpp +++ b/src/common/Exception.cpp @@ -5,7 +5,8 @@ #include namespace cru { -Exception::Exception(String message) : message_(std::move(message)) {} +Exception::Exception(String message, std::unique_ptr inner) + : message_(std::move(message)), inner_(std::move(inner)) {} Exception::~Exception() {} -- cgit v1.2.3