Permalink
Browse files

Minor code cleanup in the EBSDSetGetMacros.h file.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information...
imikejackson committed Nov 20, 2018
1 parent 6dc2636 commit 6e371afbaad4b4f0661154ce53561008a597dab8
Showing with 1 addition and 2 deletions.
  1. +1 −2 Source/EbsdLib/EbsdSetGetMacros.h
@@ -101,8 +101,7 @@
#define EBSD_STATIC_NEW_SUPERCLASS(superclass, theclass)\
static superclass::Pointer New()\
{\
theclass* ptr = new theclass();\
superclass::Pointer shared_ptr (dynamic_cast<superclass*>(ptr) );\
superclass::Pointer shared_ptr (dynamic_cast<superclass*>(new theclass()) );\
return shared_ptr;\
}

0 comments on commit 6e371af

Please sign in to comment.