-
Notifications
You must be signed in to change notification settings - Fork 9
Feature/cleanup cmake deps #61
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
Conversation
Schmluk
left a comment
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.
LGTM!
|
|
||
| } // namespace | ||
|
|
||
| AslFormatter::AslFormatter() = default; |
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.
Is there a reason for defaulting constructors in the src file? I'm more used to seeing that in the header (and vice versa, if I see a constructor declaration I assume it's non-default)
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.
I think I was just trying to move all definitions to the source file for compilation speed reasons, but yeah not super necessary / makes more sense in the header file
| } // namespace | ||
|
|
||
| // TODO(nathan) add warning | ||
| GlogLogger::GlogLogger() { |
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.
Does it make sense to make the glog logger available and then default to stdout or would it make more sense to just not register it if glog is not included? Slight preference for not registering it, although this gives more explicit warnings about glog not being compiled.
config_utilities/src/log_to_glog.cpp
Outdated
|
|
||
| } // namespace | ||
|
|
||
| // TODO(nathan) add warning |
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.
Are these two todos still relevant?
@Schmluk some cleanup I was doing a little while ago that I never got around to PRing (I was trying to fix some stuff with how we find glog/gflags downstream / think I was using
semantic_inferencewithout glog installed and having issues). I need to double check that this still builds cleanly with everything downstream before this is actually good to go, but I did check that the conditional glog implementation works with/without glog installed