View Issue Details

IDProjectCategoryView StatusLast Update
0000308OpenFOAMBugpublic2011-10-06 15:29
Reporterwyldckat Assigned Touser4 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000308: Pstream dummy is missing a constructor
DescriptionThe Dummy version of Pstream is missing the implementation of the second constructor "UIPstream(const int fromProcNo, PstreamBuffers& buffers)".
Attached is the patch for adding said constructor.
Additional InformationNote: I saw this thanks to Symscape's mingw patches.
TagsNo tags attached.

Activities

wyldckat

2011-10-06 12:07

updater  

dummy_pstream_missing_constructor (901 bytes)   
diff --git a/src/Pstream/dummy/UIPread.C b/src/Pstream/dummy/UIPread.C
index 1dc91fe..5ea9ce7 100644
--- a/src/Pstream/dummy/UIPread.C
+++ b/src/Pstream/dummy/UIPread.C
@@ -67,6 +67,30 @@ Foam::UIPstream::UIPstream
 }
 
 
+Foam::UIPstream::UIPstream(
+    const int fromProcNo,
+    PstreamBuffers& buffers
+)
+:
+    UPstream(buffers.commsType_),
+    Istream(buffers.format_, buffers.version_),
+    fromProcNo_(fromProcNo),
+    externalBuf_(buffers.recvBuf_[fromProcNo]),
+    externalBufPosition_(buffers.recvBufPos_[fromProcNo]),
+    tag_(buffers.tag_),
+    clearAtEnd_(true),
+    messageSize_(0)
+{
+    notImplemented
+    (
+        "UIPstream::UIPstream"
+        "("
+            "const int fromProcNo,"
+            "PstreamBuffers& buffers"
+        ")"
+    );
+}
+
 // * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
 
 Foam::label Foam::UIPstream::read

user4

2011-10-06 15:29

  ~0000693

Thanks - fixed in 0da499764e2e96d4917f277ea45b1da9180c33e1

Issue History

Date Modified Username Field Change
2011-10-06 12:07 wyldckat New Issue
2011-10-06 12:07 wyldckat File Added: dummy_pstream_missing_constructor
2011-10-06 15:29 user4 Note Added: 0000693
2011-10-06 15:29 user4 Status new => resolved
2011-10-06 15:29 user4 Fixed in Version => 2.0.x
2011-10-06 15:29 user4 Resolution open => fixed
2011-10-06 15:29 user4 Assigned To => user4