-
Notifications
You must be signed in to change notification settings - Fork 317
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
Clean version of Gaurab PR #639 : Unifying the way we report file related errors #669
Conversation
[ci-build][with-scene-tests] |
@@ -130,7 +130,7 @@ | |||
|
|||
#define FILEINFO(filename, line) sofa::helper::logging::FileInfo(filename, line) | |||
|
|||
#define FILEINFO(filename, line) sofa::helper::logging::FileInfo(filename, line) | |||
#define FILEINFO(filename, line) sofa::helper::logging::FileInfo(filename, line) //rewritten again. delete this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe delete it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in last commit ee41312
@@ -54,13 +55,12 @@ void MeshTrian::init (std::string filename) | |||
return; | |||
} | |||
FILE *f = fopen(filename.c_str(), "r"); | |||
msg_error_when(!f)<<sofa::helper::messaging::FileMessage::UnableToOpenFile(filename.c_str()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unable -> unable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in last commit ee41312
…And remove duplicated define.
This one is a small PR so maybe we can merge it before the 7 days ? |
I would say yes as it is the clean version of a 3 weeks old PR. |
I had been into competitive programming these days and also busy with a small project of mine. Thanks @epernod for making good use of my work. 😄 |
you are welcome. Thanks for your work. |
Unfortunately Gaurab seems to be unreachable those days. As I want to use his good work, here is a quick cherry pick of his PR #639
This PR:
Reviewers will merge only if all these checks are true.