mirror of
https://github.com/open-goal/jak-project
synced 2026-08-20 06:16:35 -04:00
Move duplicated utilities to the common util folder and remove NEXT_DIR (#29)
* move things to the common library and remove next_dir * fix for windows * one last windows fix * last fix for real this time * debug listener test * fix listener threading bug
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* (+ 1 (+ a b)) ; compute the sum
|
||||
*/
|
||||
|
||||
#include "goalc/util/file_io.h"
|
||||
#include "common/util/FileUtil.h"
|
||||
|
||||
#include "TextDB.h"
|
||||
|
||||
@@ -79,7 +79,7 @@ std::pair<int, int> SourceText::get_containing_line(int offset) {
|
||||
* Read text from a file.
|
||||
*/
|
||||
FileText::FileText(std::string filename_) : filename(std::move(filename_)) {
|
||||
text = util::read_text_file(filename);
|
||||
text = file_util::read_text_file(filename);
|
||||
build_offsets();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user