Skip to content

Commit 11baadb

Browse files
committed
Merge pull request #85 from ddemidov/develop
[cpp] Fix a bug in sensor.bin_data()
2 parents da84989 + 762fa83 commit 11baadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ev3dev.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ const std::vector<char>& sensor::bin_data() const
556556
_bin_data.resize(num_values() * value_size);
557557
}
558558

559-
static const string fname = _path + "bin_data";
559+
const string fname = _path + "bin_data";
560560
ifstream &is = ifstream_open(fname);
561561
if (is.is_open())
562562
{

0 commit comments

Comments
 (0)