certik / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Error reading a space char #224

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
YAML::Node node = YAML::Node(' ');
assert(node.as<char>() == ' ');

fails with

yaml-cpp: error at line 0, column 0: bad conversion

The assertion should pass.

Original issue reported on code.google.com by jbe...@gmail.com on 10 Nov 2013 at 8:49

GoogleCodeExporter commented 9 years ago
Fixed, rc9baaaa4e47261cf073018d6e5c5758037d9c173.

Original comment by jbe...@gmail.com on 10 Nov 2013 at 8:51