Commit a19336fd authored by Jesse Beder's avatar Jesse Beder
Browse files

Made emitter noncopyable, which should fix any auto_ptr warnings

parent 9ad3a1b9
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "yaml-cpp/emittermanip.h" #include "yaml-cpp/emittermanip.h"
#include "yaml-cpp/ostream.h" #include "yaml-cpp/ostream.h"
#include "yaml-cpp/noncopyable.h"
#include "yaml-cpp/null.h" #include "yaml-cpp/null.h"
#include <memory> #include <memory>
#include <string> #include <string>
...@@ -15,7 +16,7 @@ namespace YAML ...@@ -15,7 +16,7 @@ namespace YAML
{ {
class EmitterState; class EmitterState;
class Emitter class Emitter: private noncopyable
{ {
public: public:
Emitter(); Emitter();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment