View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000308 | OpenFOAM | Bug | public | 2011-10-06 12:07 | 2011-10-06 15:29 |
Reporter | wyldckat | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Summary | 0000308: Pstream dummy is missing a constructor | ||||
Description | The 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 Information | Note: I saw this thanks to Symscape's mingw patches. | ||||
Tags | No tags attached. | ||||
|
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 |
|
Thanks - fixed in 0da499764e2e96d4917f277ea45b1da9180c33e1 |
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 |
|
Note Added: 0000693 | |
2011-10-06 15:29 |
|
Status | new => resolved |
2011-10-06 15:29 |
|
Fixed in Version | => 2.0.x |
2011-10-06 15:29 |
|
Resolution | open => fixed |
2011-10-06 15:29 |
|
Assigned To | => user4 |