Update tinyendian to 0.2.0

This commit is contained in:
Basile Burg 2018-06-10 11:24:52 +02:00
parent 5757869e9a
commit 4cd437b1ae
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
"libs": [],
"importPaths": ["source"],
"license": "Boost 1.0",
"dependencies": { "tinyendian" : { "version" : "~>0.1.0" } },
"dependencies": { "tinyendian" : { "version" : "~>0.2.0" } },
"homepage": "https://github.com/dlang-community/D-YAML",
"copyright": "Copyright © 2011-2014, Ferdinand Majerech",
"subPackages": [

View file

@ -91,7 +91,7 @@ final class Reader
///
/// Throws: ReaderException on a UTF decoding error or if there are
/// nonprintable Unicode characters illegal in YAML.
this(ubyte[] buffer) @trusted pure
this(ubyte[] buffer) @safe pure
{
auto endianResult = fixUTFByteOrder(buffer);
if(endianResult.bytesStripped > 0)