diff options
-rw-r--r-- | ptfformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ptfformat.h b/ptfformat.h index e8267bc..ff21191 100644 --- a/ptfformat.h +++ b/ptfformat.h @@ -38,7 +38,7 @@ public: int64_t length; bool operator ==(const struct wav& other) { - return (this->filename != std::string("") && + return (this->filename == other.filename || this->index == other.index); } |