diff options
Diffstat (limited to 'sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch')
-rw-r--r-- | sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch b/sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch deleted file mode 100644 index b4b64e94eef8..000000000000 --- a/sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx b/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx -index b6e2b55..d27ad9d 100644 ---- a/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx -+++ b/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx -@@ -788,7 +788,10 @@ public: - this->GetSettingBelowPriority(propertySettingCString, highestPriority); - if (lowerPriorityValue.isNull()) - { -- if (!proxyValue.removeMember(property->GetXMLName()).isNull()) -+ // Allocated as done in Json::Value removeMember(const char* key). -+ Json::Value removedValue; -+ if (proxyValue.removeMember(property->GetXMLName(), &removedValue) && -+ !removedValue.isNull()) - { - this->Modified(); - } - |