Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
nx10 committed Jan 21, 2024
1 parent c890b7a commit 33b3722
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Makevars.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX_STD = CXX14

PKG_CPPFLAGS = -Ilib -DBOOST_NO_AUTO_PTR -DFMT_HEADER_ONLY
PKG_CPPFLAGS = -Ilib -DFMT_HEADER_ONLY

all: clean

Expand Down
1 change: 0 additions & 1 deletion src/Makevars.ucrt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
CXX_STD = CXX14

PKG_CPPFLAGS = -Ilib \
-DBOOST_NO_AUTO_PTR \
-DFMT_HEADER_ONLY \
-DHTTPGD_DEBUG_DEVICE

Expand Down
1 change: 0 additions & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ VERSION_HARFBUZZ = 2.7.4
RWINLIB_HARFBUZZ = ../windows/harfbuzz-${VERSION_HARFBUZZ}

PKG_CPPFLAGS = -Ilib -I${RWINLIB_HARFBUZZ}/include \
-DBOOST_NO_AUTO_PTR \
-DFMT_HEADER_ONLY

PKG_LIBS = -L${RWINLIB_HARFBUZZ}/lib${R_ARCH}${CRT} -lWs2_32 -lwsock32
Expand Down
2 changes: 2 additions & 0 deletions src/lib/crow/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ namespace crow

void debug_print() const
{
/*
std::cerr << "routing_params" << std::endl;
for (auto i : int_params)
std::cerr << i << ", ";
Expand All @@ -245,6 +246,7 @@ namespace crow
for (auto& i : string_params)
std::cerr << i << ", ";
std::cerr << std::endl;
*/
}

template<typename T>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/crow/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace crow
prefix = "CRITICAL";
break;
}
std::cerr << std::string("(") + timestamp() + std::string(") [") + prefix + std::string("] ") + message << std::endl;
//std::cerr << std::string("(") + timestamp() + std::string(") [") + prefix + std::string("] ") + message << std::endl;
}

private:
Expand Down

0 comments on commit 33b3722

Please sign in to comment.