Skip to content

Commit

Permalink
include cout.h instead of log.h in gen.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
idealvin committed Sep 1, 2021
1 parent 67671ee commit 9a795af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gen/gen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "co/str.h"
#include "co/fs.h"
#include "co/flag.h"
#include "co/log.h"
#include "co/cout.h"

void generate(
const fastring& gen_file, const fastring& pkg, const fastring& serv,
Expand Down Expand Up @@ -240,7 +240,6 @@ void parse(const char* path) {

int main(int argc, char** argv) {
auto v = flag::init(argc, argv);
log::init();
if (v.empty()) {
COUT << "usage: gen xx.proto";
return 0;
Expand Down

0 comments on commit 9a795af

Please sign in to comment.