diff --git a/src/str.h b/src/str.h index 2eaa3c8d..d5ac7bf6 100644 --- a/src/str.h +++ b/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; }