Use "#pragma once" to prevent repeated header file inclusion
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef __EVAL_INLINE_H
|
||||
#define __EVAL_INLINE_H
|
||||
#pragma once
|
||||
|
||||
#include "eval.hh"
|
||||
|
||||
@@ -8,7 +7,6 @@
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
||||
LocalNoInlineNoReturn(void throwEvalError(const char * s))
|
||||
{
|
||||
throw EvalError(s);
|
||||
@@ -55,7 +53,4 @@ inline void EvalState::forceList(Value & v)
|
||||
throwTypeError("value is %1% while a list was expected", showType(v));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif /* !__EVAL_INLINE_H */
|
||||
|
||||
Reference in New Issue
Block a user