1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 15:51:15 +02:00

Fix some clang warnings

This commit is contained in:
Eelco Dolstra 2014-01-21 18:29:55 +01:00
parent a26307b281
commit 94f9c14d52
6 changed files with 12 additions and 18 deletions

View file

@ -48,7 +48,7 @@ std::ostream & operator << (std::ostream & str, const Pos & pos);
struct Env;
struct Value;
struct EvalState;
class EvalState;
struct StaticEnv;
struct Expr;
@ -71,6 +71,7 @@ string showAttrPath(const AttrPath & attrPath);
struct Expr
{
virtual ~Expr() { };
virtual void show(std::ostream & str);
virtual void bindVars(const StaticEnv & env);
virtual void eval(EvalState & state, Env & env, Value & v);