Skip to content

Commit

Permalink
Fix build after #446
Browse files Browse the repository at this point in the history
Did not compile on either Windows or macOS without this.
  • Loading branch information
marktsuchida committed Mar 5, 2024
1 parent b50b1d9 commit f6c45a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DeviceAdapters/DemoCamera/DemoCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,10 +611,10 @@ int CDemoCamera::SnapImage()
{
#ifdef _WIN32
// SleepShort(1);
#elif
#else
CDeviceUtils::SleepMs(1);
#endif
}
}
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions DeviceAdapters/Utilities/Utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ class DAPolygon
polygon_.push_back(std::make_pair(x, y));
}

boolean hasVertex(size_t index) {
bool hasVertex(size_t index) {
return polygon_.size() <= index + 1;
}

Expand Down Expand Up @@ -867,4 +867,4 @@ class SerialDTRShutter : public CShutterBase<SerialDTRShutter>
};


#endif //_UTILITIES_H_
#endif //_UTILITIES_H_

0 comments on commit f6c45a6

Please sign in to comment.