Skip to content
This repository was archived by the owner on Apr 6, 2019. It is now read-only.

Commit 21eb5eb

Browse files
TheQuantumPhysicistCylix
authored andcommitted
Fix errors that appear when compiling with -pedantic-errors flag. (#183)
Extra unnecessary semicolons removed.
1 parent 461e41a commit 21eb5eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

includes/cpp_redis/core/sentinel.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,4 +344,4 @@ class sentinel {
344344
std::atomic<unsigned int> m_callbacks_running;
345345
};
346346

347-
}; // namespace cpp_redis
347+
} // namespace cpp_redis

includes/cpp_redis/impl/client.ipp

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ client::client_kill_impl(std::vector<std::string>& redis_cmd, reply_callback_t&
6767
static_assert(!std::is_class<T>::value, "Reply callback should be in the end of the argument list");
6868
client_kill_unpack_arg<T>(redis_cmd, reply, arg);
6969
client_kill_impl(redis_cmd, reply, args...);
70-
};
70+
}
7171

7272
template <typename T>
7373
void
7474
client::client_kill_impl(std::vector<std::string>& redis_cmd, reply_callback_t& reply, const T& arg) {
7575
client_kill_unpack_arg<T>(redis_cmd, reply, arg);
76-
};
76+
}
7777

7878
template <typename T, typename... Ts>
7979
inline client&

0 commit comments

Comments
 (0)