ext/libsass/extend.hpp in sassc-0.0.9 vs ext/libsass/extend.hpp in sassc-0.0.10

- old
+ new

@@ -1,28 +1,21 @@ -#define SASS_EXTEND +#ifndef SASS_EXTEND_H +#define SASS_EXTEND_H -#include <vector> #include <map> #include <set> +#include <vector> #include <iostream> -#ifndef SASS_AST #include "ast.hpp" -#endif - -#ifndef SASS_OPERATION #include "operation.hpp" -#endif - -#ifndef SASS_SUBSET_MAP #include "subset_map.hpp" -#endif namespace Sass { using namespace std; - struct Context; + class Context; typedef Subset_Map<string, pair<Complex_Selector*, Compound_Selector*> > ExtensionSubsetMap; class Extend : public Operation_CRTP<void, Extend> { @@ -46,5 +39,7 @@ template <typename U> void fallback(U x) { return fallback_impl(x); } }; } + +#endif