From 448720848b383639c37f5f0487efdf8c0f0ed433 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 28 Mar 2020 17:55:41 +0000 Subject: Fixes for tidy --- libpqpp/pq-command.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpqpp/pq-command.h') diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h index 4123d4c..101afd8 100644 --- a/libpqpp/pq-command.h +++ b/libpqpp/pq-command.h @@ -14,7 +14,7 @@ namespace PQ { class DLL_PUBLIC CommandOptions : public DB::CommandOptions { public: CommandOptions(std::size_t, const DB::CommandOptionsMap &); - CommandOptions(std::size_t hash, + explicit CommandOptions(std::size_t hash, unsigned int fetchTuples = 35, bool useCursor = true, bool fetchBinary = false); @@ -23,8 +23,8 @@ namespace PQ { bool useCursor; bool fetchBinary; }; - typedef std::shared_ptr CommandOptionsPtr; - typedef std::shared_ptr CommandOptionsCPtr; + using CommandOptionsPtr = std::shared_ptr; + using CommandOptionsCPtr = std::shared_ptr; class Command : public virtual DB::Command { public: -- cgit v1.2.3