Skip to content

Instantly share code, notes, and snippets.

@brechtvl
Created April 16, 2013 23:38
Show Gist options
  • Save brechtvl/5400582 to your computer and use it in GitHub Desktop.
Save brechtvl/5400582 to your computer and use it in GitHub Desktop.
diff --git src/include/refcnt.h src/include/refcnt.h
index 53a7f15..37068c5 100644
--- src/include/refcnt.h
+++ src/include/refcnt.h
@@ -44,14 +44,16 @@
// Use Boost for shared pointers
#include <boost/tr1/memory.hpp>
-using std::tr1::shared_ptr;
#include <boost/intrusive_ptr.hpp>
-using boost::intrusive_ptr;
OIIO_NAMESPACE_ENTER
{
+using std::tr1::shared_ptr;
+using boost::intrusive_ptr;
+
+
/// Mix-in class that adds a reference count, implemented as an atomic
/// counter.
class RefCnt {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment