Changes in src/Common/CodeLocation.h [b128d3e:21f0aa8]
- File:
-
- 1 edited
-
src/Common/CodeLocation.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/CodeLocation.h
rb128d3e r21f0aa8 9 9 // Author : Andrew Beach 10 10 // Created On : Thr Aug 17 11:23:00 2017 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Mon Aug 28 12:46:01201713 // Update Count : 211 // Last Modified By : Andrew Beach 12 // Last Modified On : Thr Aug 17 14:07:00 2017 13 // Update Count : 0 14 14 // 15 15 … … 66 66 67 67 inline std::string to_string( const CodeLocation& location ) { 68 // Column number ":1" allows IDEs to parse the error message and position the cursor in the source text. 69 return location.isSet() ? location.filename + ":" + std::to_string(location.linenumber) + ":1 " : ""; 68 return location.isSet() ? location.filename + ":" + std::to_string(location.linenumber) + " " : ""; 70 69 } 71 70
Note:
See TracChangeset
for help on using the changeset viewer.