unittest start
This commit is contained in:
parent
bc87732585
commit
fa8bd24551
8 changed files with 105 additions and 99 deletions
|
|
@ -21,10 +21,11 @@ static int CopyStr(char* dest, const char* src, const char* concat = "\0") {
|
|||
|
||||
CMyDateException::CMyDateException(const char* s)
|
||||
{
|
||||
msg = new char[256];
|
||||
CopyStr(msg, s);
|
||||
}
|
||||
|
||||
const char* CMyDateException::what() {
|
||||
const char* CMyDateException::what() const {
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue