From bd336c9a769a1d6daff5765c836d3f5699e868b7 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 17 Jun 2011 00:32:30 -0400 Subject: [PATCH] Bring better(?) assertion to default. --- src/Song.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Song.cpp b/src/Song.cpp index 8cf6d352a7..c2e2c85b47 100644 --- a/src/Song.cpp +++ b/src/Song.cpp @@ -190,7 +190,9 @@ RString Song::GetCacheFilePath() const // Get a path to the SM containing data for this song. It might be a cache file. const RString &Song::GetSongFilePath() const { - ASSERT( !m_sSongFileName.empty() ); + ASSERT_M( !m_sSongFileName.empty(), + ssprintf("The song %s has no filename associated with it!", + this->m_sMainTitle.c_str())); return m_sSongFileName; }