diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-08-28T16·49+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-08-28T16·49+0200 |
commit | fe34b91289793178323b4924ee63c9e3ed636d11 (patch) | |
tree | dd4e89274d5c58d50bc628461bc52f7a036bf6b7 /src/libutil/logging.hh | |
parent | e681b1f064f88b46cd75d374937bd07e5d6e95d1 (diff) |
Tunnel progress messages from the daemon to the client
This makes the progress bar work for non-root users.
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r-- | src/libutil/logging.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh index 2ec15cb68d25..e3e7c8e6f330 100644 --- a/src/libutil/logging.hh +++ b/src/libutil/logging.hh @@ -47,7 +47,7 @@ public: struct Field { // FIXME: use std::variant. - enum { tInt, tString } type; + enum { tInt = 0, tString = 1 } type; uint64_t i = 0; std::string s; Field(const std::string & s) : type(tString), s(s) { } |