Add include guard to smart_ptr.h
This commit is contained in:
parent
57856254f7
commit
c757c3bc76
1 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef CT_SMART_PTR
|
||||
#define CT_SMART_PTR
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if defined CT_USE_STD_SHARED_PTR
|
||||
|
|
@ -31,3 +34,5 @@ namespace Cantera
|
|||
#else
|
||||
#error "No shared_ptr implementation available"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue