Skip to content

Commit

Permalink
simple fix for building on OSX, tagging v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Gilbert committed Dec 14, 2022
1 parent 39f1063 commit fc8f6e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Setup project
########################################################################
cmake_minimum_required(VERSION 3.0)
project(libsigmf VERSION 1.0.1 LANGUAGES CXX)
project(libsigmf VERSION 1.0.2 LANGUAGES CXX)

# c++17 used for supporting flatbuffers optional scalar fields via std::optional<T>
set(CMAKE_CXX_STANDARD 17)
Expand Down
2 changes: 1 addition & 1 deletion src/sigmf_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ template<typename CaptureType>
static SigMFCaptureBoundary get_capture_range(sigmf::SigMFVector<CaptureType> &captures_vector, int index, int sample_size) {
if (index >= captures_vector.size()) {
// index exceeds captures vector length, no data to read
return SigMFCaptureBoundary(0,0);
return SigMFCaptureBoundary{0,0};
}
SigMFCaptureBoundary bounds;
bounds.start_byte = captures_vector[0].template get<core::DescrT>().header_bytes.value_or(0);
Expand Down

0 comments on commit fc8f6e8

Please sign in to comment.