Take the line number as an integer, the STRINGIZER macro didn't work as expected

svn path=/trunk/; revision=40208
This commit is contained in:
Colin Finck 2009-03-24 12:37:54 +00:00
parent c0212e7286
commit 0a05554c18
3 changed files with 6 additions and 7 deletions

View file

@ -15,12 +15,12 @@
* Constant pointer to a char array with the source file where the exception occured (__FILE__)
*
* @param Line
* Constant pointer to a char array with the appropriate source line (#__LINE__)
* Integer value with the appropriate source line (__LINE__)
*
* @param Message
* Constant pointer to a char array containing a short message about the exception
*/
CFatalException::CFatalException(const char* File, const char* Line, const char* Message)
CFatalException::CFatalException(const char* File, int Line, const char* Message)
: m_File(File), m_Line(Line), m_Message(Message)
{
}