Fixed exception in dummy destructor

This commit is contained in:
York Jasper Niebuhr 2025-11-27 12:42:48 +01:00
parent 93acf2839c
commit d39ce2d557

View File

@ -90,13 +90,9 @@ void seal_context::noise_budget(ciphertext ct, std::size_t& budget) const {
namespace homcert::bfv { namespace homcert::bfv {
seal_context::seal_context() { seal_context::seal_context() {}
throw bfv_exception(bfv_exception::REASON::CTX_NOT_IMPLEMENTED, "BFV context for Microsoft SEAL is not implemented");
}
seal_context::~seal_context() { seal_context::~seal_context() {}
throw bfv_exception(bfv_exception::REASON::CTX_NOT_IMPLEMENTED, "BFV context for Microsoft SEAL is not implemented");
}
void seal_context::new_components(int components) { void seal_context::new_components(int components) {
throw bfv_exception(bfv_exception::REASON::CTX_NOT_IMPLEMENTED, "BFV context for Microsoft SEAL is not implemented"); throw bfv_exception(bfv_exception::REASON::CTX_NOT_IMPLEMENTED, "BFV context for Microsoft SEAL is not implemented");