File tree Expand file tree Collapse file tree 10 files changed +5
-39
lines changed
opencv-4.11.0/opencv2/core Expand file tree Collapse file tree 10 files changed +5
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1851,10 +1851,8 @@ template<typename _Tp> inline
18511851_Tp Rect_<_Tp>::area() const
18521852{
18531853 const _Tp result = width * height;
1854- if constexpr (std::numeric_limits<_Tp>::is_integer)
1855- {
1856- CV_DbgAssert (width == 0 || result / width == height); // make sure the result fits in the return value
1857- }
1854+ CV_DbgAssert (!std::numeric_limits<_Tp>::is_integer
1855+ || width == 0 || result / width == height); // make sure the result fits in the return value
18581856 return result;
18591857}
18601858
Original file line number Diff line number Diff line change @@ -2449,7 +2449,7 @@ if (MSVC)
24492449 PA_DPP
24502450 )
24512451
2452- target_compile_options (SerialPrograms PRIVATE /FAs /FaAssembly/ /MP /W4 /WX /utf-8)
2452+ target_compile_options (SerialPrograms PRIVATE /FAs /FaAssembly/ /MP /W4 /WX /external:anglebrackets /external:W0 / utf-8)
24532453 target_compile_options (SerialPrograms PRIVATE /wd5054) # Deprecated enum arithemtic
24542454 target_compile_options (SerialPrograms PRIVATE /wd4505) # unreferenced local function has been removed
24552455
Original file line number Diff line number Diff line change 44#include < QFileInfo>
55// #include <QTextStream>
66#include < QMessageBox>
7- #include < dpp/DPP_SilenceWarnings.h>
87#include < Integrations/DppIntegration/DppClient.h>
98#include " Common/Cpp/Exceptions.h"
109#include " Common/Cpp/ImageResolution.h"
Original file line number Diff line number Diff line change 55 */
66
77#include < QFile>
8- #include < dpp/DPP_SilenceWarnings.h>
98#include < Integrations/DppIntegration/DppClient.h>
109#include " Common/Cpp/PrettyPrint.h"
1110#include " Common/Cpp/Json/JsonValue.h"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class PanelInstance{
3838public:
3939 // Serialization
4040 void from_json ();
41- virtual void from_json (const JsonValue& json ){}
41+ virtual void from_json (const JsonValue&){}
4242 virtual JsonValue to_json () const ;
4343
4444protected:
Original file line number Diff line number Diff line change 77#include < QHBoxLayout>
88#include < QLabel>
99#include < QPushButton>
10- #include < dpp/DPP_SilenceWarnings.h>
1110#include " Common/Qt/StringToolsQt.h"
1211// #include "CommonFramework/Globals.h"
1312// #include "CommonFramework/GlobalSettingsPanel.h"
@@ -122,7 +121,7 @@ DiscordIntegrationSettingsOption::DiscordIntegrationSettingsOption()
122121 this ->add_listener (*this );
123122 library0.add_listener (*this );
124123}
125- void DiscordIntegrationSettingsOption::on_config_value_changed (void * object ){
124+ void DiscordIntegrationSettingsOption::on_config_value_changed (void *){
126125// cout << this->enabled() << endl;
127126#if (defined PA_SLEEPY || defined PA_DPP)
128127 bool options_enabled = this ->enabled ();
Original file line number Diff line number Diff line change 11#ifdef PA_DPP
22
33#include < set>
4- #include < dpp/DPP_SilenceWarnings.h>
54#include < dpp/dpp.h>
65#include < Integrations/DppIntegration/DppClient.h>
76#include < Integrations/DppIntegration/DppCommandHandler.h>
Original file line number Diff line number Diff line change 11#ifdef PA_DPP
22
33#include < format>
4- #include < dpp/DPP_SilenceWarnings.h>
54#include < dpp/dpp.h>
65#include " Common/Cpp/Concurrency/ScheduledTaskRunner.h"
76#include " CommonFramework/Globals.h"
Original file line number Diff line number Diff line change 11#ifdef PA_DPP
22
3- #include < dpp/DPP_SilenceWarnings.h>
43#include < dpp/dpp.h>
54#include < Integrations/DppIntegration/DppUtility.h>
65#include " CommonFramework/GlobalSettingsPanel.h"
You can’t perform that action at this time.
0 commit comments