summaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common/python/python_udf
diff options
context:
space:
mode:
Diffstat (limited to 'yql/essentials/udfs/common/python/python_udf')
-rw-r--r--yql/essentials/udfs/common/python/python_udf/python_function_factory.h2
-rw-r--r--yql/essentials/udfs/common/python/python_udf/python_udf.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/yql/essentials/udfs/common/python/python_udf/python_function_factory.h b/yql/essentials/udfs/common/python/python_udf/python_function_factory.h
index 6f81817f609..e96fa7eec4b 100644
--- a/yql/essentials/udfs/common/python/python_udf/python_function_factory.h
+++ b/yql/essentials/udfs/common/python/python_udf/python_function_factory.h
@@ -39,7 +39,7 @@ public:
{
}
- ~TPythonFunctionFactory() {
+ ~TPythonFunctionFactory() override {
Ctx_->Cleanup();
PyCleanup();
}
diff --git a/yql/essentials/udfs/common/python/python_udf/python_udf.cpp b/yql/essentials/udfs/common/python/python_udf/python_udf.cpp
index fd0743962ba..a70e69a3257 100644
--- a/yql/essentials/udfs/common/python/python_udf/python_udf.cpp
+++ b/yql/essentials/udfs/common/python/python_udf/python_udf.cpp
@@ -90,7 +90,7 @@ public:
}
}
- ~TPythonModule() {
+ ~TPythonModule() override {
if (Standalone_) {
PyEval_RestoreThread(MainThreadState_);
Py_Finalize();