1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

core: apply CV_OVERRIDE/CV_FINAL

This commit is contained in:
Alexander Alekhin
2018-03-15 16:16:50 +03:00
parent 0587f92d96
commit 9111538bfb
17 changed files with 134 additions and 129 deletions
+4 -4
View File
@@ -726,7 +726,7 @@ void TraceManagerThreadLocal::dumpStack(std::ostream& out, bool onlyFunctions) c
out << ss.str();
}
class AsyncTraceStorage : public TraceStorage
class AsyncTraceStorage CV_FINAL : public TraceStorage
{
mutable std::ofstream out;
public:
@@ -744,7 +744,7 @@ public:
out.close();
}
bool put(const TraceMessage& msg) const
bool put(const TraceMessage& msg) const CV_OVERRIDE
{
if (msg.hasError)
return false;
@@ -754,7 +754,7 @@ public:
}
};
class SyncTraceStorage : public TraceStorage
class SyncTraceStorage CV_FINAL : public TraceStorage
{
mutable std::ofstream out;
mutable cv::Mutex mutex;
@@ -774,7 +774,7 @@ public:
out.close();
}
bool put(const TraceMessage& msg) const
bool put(const TraceMessage& msg) const CV_OVERRIDE
{
if (msg.hasError)
return false;