From 5932155435efd3db30c63f447a83594b48f2c890 Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Sat, 2 Aug 2014 01:15:22 +0200 Subject: [PATCH] Style. --- source/dyaml/nogcutil.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dyaml/nogcutil.d b/source/dyaml/nogcutil.d index 0806567..7147bf7 100644 --- a/source/dyaml/nogcutil.d +++ b/source/dyaml/nogcutil.d @@ -427,10 +427,10 @@ dchar decodeValidUTF8NoGC(const(char[]) str, ref size_t index) /// Otherwise a struct with a 'bytes' member specifying the number of bytes of /// the endocded character, and a 'string errorMessage' member that is null /// if there was no error and otherwise stores the error message. -auto encodeCharNoGC(Flag!"validated" validated)(ref char[4] buf, dchar c) +auto encodeCharNoGC(Flag!"validated" validated)(ref char[4] buf, dchar c) @safe pure nothrow @nogc { - static if(!validated) struct Result + static if(!validated) struct Result { size_t bytes; string errorMessage;