Skip to content

Commit 56c044c

Browse files
committed
Code: Purges unrequired (legacy) header.
* `sass_interface.h` is unused in favour of `sass_context.h`. * Removes unnecessary `using namespace std;` (which is not ideal anyway). * Removes `#include <exception>`.
1 parent 5c0ccec commit 56c044c

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

libsass/SassInterface.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,9 @@
1818
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919
//SOFTWARE.
2020

21-
#include <exception>
22-
#include "native\sass_interface.h"
2321
#include "native\sass2scss.h"
2422
#include "StringToANSI.hpp"
2523
#include "SassInterface.hpp"
26-
#include "native\sass_context.h"
27-
28-
using namespace std;
2924

3025
namespace LibSassNet
3126
{
@@ -205,4 +200,4 @@ namespace LibSassNet
205200
sass_free_folder_context(ctx);
206201
}
207202
}*/
208-
}
203+
}

libsass/SassInterface.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
//SOFTWARE.
2020

2121
#include "ISassInterface.hpp"
22+
#include "native\sass_context.h"
2223

2324
namespace LibSassNet
2425
{
@@ -33,4 +34,4 @@ namespace LibSassNet
3334
// Folder context isn't implemented in core libsass library now
3435
/*virtual int Compile(SassFolderContext^ sassFolderContext);*/
3536
};
36-
}
37+
}

0 commit comments

Comments
 (0)