Merge pull request #149 from BBasile/upd-tinyendian

Update tinyendian to 0.2.0
merged-on-behalf-of: Cameron Ross <elpenguino@gmail.com>
This commit is contained in:
The Dlang Bot 2018-06-10 17:15:59 +02:00 committed by GitHub
commit 942d8657c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)