瀏覽代碼

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();
 }