diff --git a/src/sampling/probes/patchProbes.C b/src/sampling/probes/patchProbes.C
index 7e7758cc0a0d317bec9794f84006f5846a40229e..ff0866ecd8c8e76ce90bcfee71601661a192af9f 100644
--- a/src/sampling/probes/patchProbes.C
+++ b/src/sampling/probes/patchProbes.C
@@ -237,7 +237,7 @@ Foam::patchProbes::~patchProbes()
 {}
 
 
-bool Foam::patchProbes::write()
+bool Foam::patchProbes::write(const bool postProcess)
 {
     if (this->size() && prepare())
     {
diff --git a/src/sampling/probes/patchProbes.H b/src/sampling/probes/patchProbes.H
index 746ad9921dd1bed00dc6994e463c2f684a1fa545..8fb9db6304e84c5f6ac8e01b94b720d69a82d987 100644
--- a/src/sampling/probes/patchProbes.H
+++ b/src/sampling/probes/patchProbes.H
@@ -154,7 +154,7 @@ public:
     //- Public members
 
         //- Sample and write
-        virtual bool write();
+        virtual bool write(const bool postProcess);
 
         //- Read
         virtual bool read(const dictionary&);