diff --git a/headers/build/os/storage/Node.h b/headers/build/os/storage/Node.h index 39b21dce71..67dfc8dd1f 100644 --- a/headers/build/os/storage/Node.h +++ b/headers/build/os/storage/Node.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2008, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NODE_H @@ -27,8 +27,8 @@ struct node_ref { bool operator<(const node_ref &ref) const { - return (device < ref.device - || device == ref.device && node < ref.node); + return device < ref.device + || (device == ref.device && node < ref.node); } dev_t device; diff --git a/src/build/libroot/NodeRef.h b/src/build/libroot/NodeRef.h index d92246c4f7..fd7ace6f80 100644 --- a/src/build/libroot/NodeRef.h +++ b/src/build/libroot/NodeRef.h @@ -1,3 +1,7 @@ +/* + * Copyright 2005-2008, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef NODE_REF_H #define NODE_REF_H @@ -47,7 +51,7 @@ struct NodeRef { bool operator<(const NodeRef &other) const { return (device < other.device - || device == other.device && node < other.node); + || (device == other.device && node < other.node)); } };