Skip to content

Included posix_time header in test. Changed Example accordingly (#149).#150

Closed
lkskstlr wants to merge 1 commit intoexercism:masterfrom
lkskstlr:gigasecond_header_issue_fix
Closed

Included posix_time header in test. Changed Example accordingly (#149).#150
lkskstlr wants to merge 1 commit intoexercism:masterfrom
lkskstlr:gigasecond_header_issue_fix

Conversation

@lkskstlr
Copy link
Copy Markdown

I just wanted to propose a solution for the case that you might consider the issue I opened to be valid. I hope this was somehow helpful to you.

Cheers,
Lukas

#if !defined(GIGASECOND_H)
#define GIGASECOND_H

#include <boost/date_time/posix_time/posix_time.hpp>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We really shouldn't bother removing this here. It doesn't save anything since it always must be included to use this header anyways.

Yes it might be against some companies guidelines, but we're going for simplicity here instead of strictly following some definition of best practice. These tests just aren't going to do much to help teach best practices on a large Cpp codebase.

@arcuru
Copy link
Copy Markdown
Contributor

arcuru commented Sep 30, 2017

Thanks for this.

If you add "Closes #149" to the description (first comment?) or in a commit message it will auto close the issue once this is merged. See https://help.github.com/articles/closing-issues-using-keywords/

I'm not sure if it works for a comment like this.

@arcuru
Copy link
Copy Markdown
Contributor

arcuru commented Aug 24, 2018

Closing in favor of #201

@arcuru arcuru closed this Aug 24, 2018
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