error: cannot convert ‘std::ifstream {aka std::basic_ifstream<char>}’ to ‘bool’ in return
Bug #1654426 reported by
Milk Miruku
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
harmonySEQ |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
To fix this, line 45 in Files.cpp now needs to be more specific in the return;
return (bool)ifile;
Related branches
lp://staging/~objectboxpc/harmonyseq/code-fixes
Rejected
for merging
into
lp://staging/harmonyseq
- Rafał Cieślak: Pending requested
-
Diff: 25 lines (+2/-2)2 files modifiedsrc/Files.cpp (+1/-1)
src/MidiDriver.cpp (+1/-1)
To post a comment you must log in.
I fixed this in my branch (linked).
(I actually used !!ifile for pre-C++11 compatibility.)