Skip to content

Commit

Permalink
default constructor is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gsomix committed May 5, 2012
1 parent 3fc0b13 commit 1786947
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/shogun/lib/memory.cpp
Expand Up @@ -19,11 +19,6 @@ using namespace shogun;
#ifdef TRACE_MEMORY_ALLOCS
extern CSet<shogun::MemoryBlock>* sg_mallocs;

MemoryBlock::MemoryBlock() : ptr(NULL), size(0), file(NULL),
line(-1), is_sgobject(false)
{
}

MemoryBlock::MemoryBlock(void* p) : ptr(p), size(0), file(NULL),
line(-1), is_sgobject(false)
{
Expand Down
3 changes: 0 additions & 3 deletions src/shogun/lib/memory.h
Expand Up @@ -60,9 +60,6 @@ namespace shogun
class MemoryBlock
{
public:
/** default constructor
*/
MemoryBlock();
/** constructor
* @param p p
*/
Expand Down

0 comments on commit 1786947

Please sign in to comment.