blueloveTH 2 anni fa
parent
commit
58adfe6d17
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/str.h

+ 1 - 1
src/str.h

@@ -118,7 +118,7 @@ struct Str{
     }
 
     friend std::ostream& operator<<(std::ostream& os, const Str& str){
-        if(str.data!=nullptr) os.write(str.data, str.size);
+        os.write(str.data, str.size);
         return os;
     }