Skip to content

Minimise content of doxide.hpp header#94

Open
alberto-scolari wants to merge 2 commits intolawmurray:mainfrom
alberto-scolari:remove_doxide_header
Open

Minimise content of doxide.hpp header#94
alberto-scolari wants to merge 2 commits intolawmurray:mainfrom
alberto-scolari:remove_doxide_header

Conversation

@alberto-scolari
Copy link
Copy Markdown
Contributor

Addresses issue #93 .

Comment thread src/Doc.cpp
@@ -1,5 +1,8 @@
#include "Doc.hpp"
#include "DocTokenizer.hpp"
#include <Log.hpp>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be #include "Log.hpp"

@lawmurray
Copy link
Copy Markdown
Owner

Thanks @alberto-scolari. I made a very minor comment.

I don't have a strong opinion on this to be honest: for projects of this size I usually just try to keep header organisation as simple as possible, as compile times are very fast anyway, and I like to put all the cruft in one place, as I did with doxide.hpp. I have other projects where compile time can be several minutes though, and there I prioritise splitting things up to reduce compile times. But if this is an improvement for your own work on Doxide, then I'm happy to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants