[cantera] r3428 committed - Add include guard to smart_ptr.h

1 view
Skip to first unread message

can...@googlecode.com

unread,
Mar 10, 2015, 6:48:43 PM3/10/15
to cantera...@googlegroups.com
Revision: 3428
Author: yar...@gmail.com
Date: Tue Mar 10 22:41:53 2015 UTC
Log: Add include guard to smart_ptr.h
https://code.google.com/p/cantera/source/detail?r=3428

Modified:
/cantera/trunk/include/cantera/base/smart_ptr.h

=======================================
--- /cantera/trunk/include/cantera/base/smart_ptr.h Sat Nov 1 00:13:39
2014 UTC
+++ /cantera/trunk/include/cantera/base/smart_ptr.h Tue Mar 10 22:41:53
2015 UTC
@@ -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 @@
#else
#error "No shared_ptr implementation available"
#endif
+
+#endif
Reply all
Reply to author
Forward
0 new messages