Skip to content

Commit 92ce3c6

Browse files
committed
Fixed clarius cast 12.0 crash on windows
1 parent 086101f commit 92ce3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/FAST/Streamers/ClariusStreamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ void* ClariusStreamer::getFunc(std::string name) {
103103
void ClariusStreamer::execute() {
104104
if(!mStreamIsStarted) {
105105
reportInfo() << "Trying to set up Clarius streaming..." << reportEnd();
106-
int argc = 0;
107106
std::string keydir = Config::getKernelBinaryPath();
108107
// TODO A hack here to get this to work. Fix later
109108
// Lambdas converted to C style pointers can't have captures
110109
static ClariusStreamer::pointer self = std::dynamic_pointer_cast<ClariusStreamer>(mPtr.lock());
111110

112111
CusInitParams params;
112+
params.args.argc = 0;
113113
params.storeDir = keydir.c_str();
114114
params.newProcessedImageFn = [](const void* img, const CusProcessedImageInfo* nfo, int npos, const CusPosInfo* pos) {
115115
self->newImageFn(img, nfo, npos, pos);

0 commit comments

Comments
 (0)