error: cannot convert ‘std::ifstream {aka std::basic_ifstream<char>}’ to ‘bool’ in return

Bug #1654426 reported by Milk Miruku
6
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

Revision history for this message
Philip Chung (objectboxpc) wrote :

I fixed this in my branch (linked).

(I actually used !!ifile for pre-C++11 compatibility.)

Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :

Hi Philip,
Thank you for your contribution.
I believe this issue was resolved in 0.16.1.
https://github.com/rafalcieslak/harmonySEQ/releases/tag/v0.16.1
Also note that this project's development has been moved to GitHub.

Changed in harmonyseq:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.