Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
a19336fd
Commit
a19336fd
authored
Oct 18, 2010
by
Jesse Beder
Browse files
Made emitter noncopyable, which should fix any auto_ptr warnings
parent
9ad3a1b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/yaml-cpp/emitter.h
include/yaml-cpp/emitter.h
+2
-1
No files found.
include/yaml-cpp/emitter.h
View file @
a19336fd
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment