mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
add has_value check; remove obslete friend class
This commit is contained in:
parent
833501f6f1
commit
d9632765a8
3 changed files with 8 additions and 8 deletions
|
@ -62,11 +62,12 @@ public:
|
|||
|
||||
virtual void logEI(const ErrorInfo &ei) = 0;
|
||||
|
||||
void logEI(Verbosity lvl, ErrorInfo ei) {
|
||||
ei.level = lvl;
|
||||
logEI(ei);
|
||||
void logEI(Verbosity lvl, ErrorInfo ei)
|
||||
{
|
||||
ei.level = lvl;
|
||||
logEI(ei);
|
||||
}
|
||||
|
||||
|
||||
virtual void warn(const std::string & msg);
|
||||
|
||||
virtual void startActivity(ActivityId act, Verbosity lvl, ActivityType type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue