Removed a pragma(msg) and fixed a minor tab/space issue

This commit is contained in:
Ferdinand Majerech 2014-05-20 23:19:02 +02:00
parent fc0aba516d
commit 7ae4de4776

View file

@ -222,7 +222,6 @@ struct Node
//Node collection style. Used to remember style this node was loaded with. //Node collection style. Used to remember style this node was loaded with.
CollectionStyle collectionStyle = CollectionStyle.Invalid; CollectionStyle collectionStyle = CollectionStyle.Invalid;
pragma(msg, "Node is %s bytes long".format(Node.sizeof));
static assert(Value.sizeof <= 24, "Unexpected YAML value size"); static assert(Value.sizeof <= 24, "Unexpected YAML value size");
static assert(Node.sizeof <= 48, "Unexpected YAML node size"); static assert(Node.sizeof <= 48, "Unexpected YAML node size");
@ -597,7 +596,7 @@ struct Node
* the value is out of range of requested type. * the value is out of range of requested type.
*/ */
@property T get(T, Flag!"stringConversion" stringConversion = Yes.stringConversion)() @property T get(T, Flag!"stringConversion" stringConversion = Yes.stringConversion)()
@trusted if(!is(T == const)) @trusted if(!is(T == const))
{ {
if(isType!T){return value_.get!T;} if(isType!T){return value_.get!T;}