Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[all] Clean BaseLoader & Remove un-needed #includes #393

Merged
merged 27 commits into from
Sep 15, 2017

Conversation

damienmarchal
Copy link
Contributor

@damienmarchal damienmarchal commented Sep 7, 2017

Hi all,

BaseLoader was implemented in .h.
This is bad so I splitted it into BaseLoader.cpp/h
Then I removed the un-needed includes
Then I updated all the codebase that were missing specific includes.

In case your code does not compile... after this PR then you need to add the include you are missing
(probably fstream or sofa::helper::system::FileRepository)


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

… (CONT)

Update files that where using code included from BaseLoader.h.
Doing so reduce the graph of dependency (thus re-compilation time).

You may need to fix your code by using
where it is really needed.
@damienmarchal damienmarchal added pr: clean Cleaning the code pr: status to review To notify reviewers to review this pull-request labels Sep 7, 2017
@guparan guparan added the pr: status ready Approved a pull-request, ready to be squashed label Sep 13, 2017
@guparan guparan removed the pr: status to review To notify reviewers to review this pull-request label Sep 13, 2017
@damienmarchal damienmarchal merged commit 7e76203 into sofa-framework:master Sep 15, 2017
@damienmarchal
Copy link
Contributor Author

It builds, no more failure...it is ready...so let's merge it.

guparan added a commit to mimesis-inria/sofa that referenced this pull request Sep 15, 2017
fstream needs to be included explicitly, see sofa-framework#393
@damienmarchal damienmarchal deleted the cleanBaseLoader branch September 20, 2017 18:33
@guparan guparan added this to the v17.12 milestone Dec 14, 2017
hugtalbot pushed a commit to hugtalbot/plugin.SofaPython2 that referenced this pull request Apr 26, 2020
fstream needs to be included explicitly, see sofa-framework/sofa#393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: clean Cleaning the code pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants