Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Jul 25, 2022
1 parent bf263cc commit 5063092
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions idl/dsn.layer2.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

include "dsn.thrift"

# TODO(yingchun): reuse the idls for server and all client libs
namespace cpp dsn

struct partition_configuration
Expand Down
1 change: 0 additions & 1 deletion scripts/recompile_thrift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ rm -rf $TMP_DIR
mkdir -p $TMP_DIR
$THIRDPARTY_ROOT/output/bin/thrift --gen cpp:moveable_types -out $TMP_DIR ../idl/rrdb.thrift

echo `pwd`
sed 's/#include "dsn_types.h"/#include <dsn\/service_api_cpp.h>/' $TMP_DIR/rrdb_types.h > ../src/include/rrdb/rrdb_types.h
sed 's/#include "rrdb_types.h"/#include <rrdb\/rrdb_types.h>/' $TMP_DIR/rrdb_types.cpp > ../src/base/rrdb_types.cpp

Expand Down

0 comments on commit 5063092

Please sign in to comment.