소스 검색

Added TODO to File class

- added TODO for comparison operator extension
Patrick 4 년 전
부모
커밋
37cc95c946
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      source/io/File.cpp

+ 3 - 1
source/io/File.cpp

@@ -25,7 +25,9 @@ ls_std::File::File(std::string _absoluteFilePath) : Class("File"),
 absoluteFilePath(ls_std::File::_normalizePath(std::move(_absoluteFilePath)))
 {}
 
-bool ls_std::File::operator==(File &_file) // TODO: also compare executable, readable, writable flag
+// TODO: also compare executable, readable, writable flag
+// TODO: normalize foreign file path for comparison
+bool ls_std::File::operator==(File &_file)
 {
   return this->absoluteFilePath == _file.getAbsoluteFilePath();
 }