Skip to content

Commit

Permalink
Add a proper default cmp fun.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelkgutierrez committed May 2, 2018
1 parent 7b13757 commit 8831356
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/sdsdkv-client.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "sdskv-client.h"
#include "ch-placement.h"

#include <unistd.h>

#include <vector>
#include <utility>

Expand Down
3 changes: 2 additions & 1 deletion src/sdsdkv-server.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ struct sdsdkv_server : public personality {
m_provider,
m_config->db_name.c_str(),
sdsdkv_iconfig::get_real_db_type(m_config->db_type),
NULL /* sdskv_compare_fn comp_fn */,
// TODO(skg) Make a user param.
SDSKV_COMPARE_DEFAULT, /* sdskv_compare_fn comp_fn */
&m_dbid
);
if (rc != SDSKV_SUCCESS) return sdskv2irc(rc);
Expand Down

0 comments on commit 8831356

Please sign in to comment.