Skip to content

Commit

Permalink
add some modification to fix build errors on Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
yasunori shimura authored and yasunori shimura committed Jun 4, 2024
1 parent 3ef7f77 commit 0178992
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions fdc_bitstream/vfo_pid3.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <cmath>
#include <iostream>
#include <fstream>
#include <string>
Expand Down
9 changes: 5 additions & 4 deletions pauline2raw/pauline2raw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,11 @@ bool HxCStream::DecodePulse(const std::vector <unsigned char> &encoded,unsigned
void HxCStream::MarkIndexHole(void)
{
indexHole.resize(pulse.size());
for(auto &b : indexHole)
{
b=false;
}
//for(auto &b : indexHole)
//{
// b=false;
//}
std::fill(indexHole.begin(), indexHole.end(), false);

size_t sum=0;
for(size_t i=0; i<pulse.size(); ++i)
Expand Down

0 comments on commit 0178992

Please sign in to comment.