Skip to content

Commit

Permalink
void operator delete was trying to return something. It caused proble…
Browse files Browse the repository at this point in the history
…m in VC6
  • Loading branch information
jwgrenning committed Sep 12, 2013
1 parent d86243f commit 55a0e84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions builds/make-gcc-macport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ make check
#these links keep compatibility with makefile worker
ln -s $cpputest_home/include include
ln -s $cpputest_home/build build
ln -s $cpputest_home/scripts scripts
2 changes: 1 addition & 1 deletion src/CppUTest/MemoryLeakWarningPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void operator delete(void* mem) UT_NOTHROW

void operator delete(void* mem, const char*, int) UT_NOTHROW
{
return operator_delete_fptr(mem);
operator_delete_fptr(mem);
}

void* operator new[](size_t size) UT_THROW(std::bad_alloc)
Expand Down

0 comments on commit 55a0e84

Please sign in to comment.