Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix: fix a compilation error on clang (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyifan27 authored Jun 10, 2021
1 parent f1827ec commit fdb1a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replica/replica_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ void replica_stub::initialize(const replication_options &opts, bool clear /* = f
std::string cdir;
std::string err_msg;
if (!dsn::utils::filesystem::create_directory(_options.slog_dir, cdir, err_msg)) {
dassert(false, "{}", err_msg);
dassert_f(false, "{}", err_msg);
}
_options.slog_dir = cdir;
initialize_fs_manager(_options.data_dirs, _options.data_dir_tags);
Expand Down

0 comments on commit fdb1a02

Please sign in to comment.