Kaynağa Gözat

Added TODO to File class

- added TODO for comparison operator extension
Patrick 4 yıl önce
ebeveyn
işleme
37cc95c946
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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();
 }