Skip to content

Commit defe421

Browse files
lockerkyukhin
authored andcommitted
index: drop unused xc wrappers
NO_DOC=code cleanup NO_TEST=code cleanup NO_CHANGELOG=code cleanup
1 parent 49b84cd commit defe421

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/box/index.h

-25
Original file line numberDiff line numberDiff line change
@@ -855,31 +855,6 @@ struct IteratorGuard
855855
~IteratorGuard() { iterator_delete(it); }
856856
};
857857

858-
/*
859-
* C++ wrappers around index methods.
860-
* They throw an exception in case of error.
861-
*/
862-
863-
static inline struct iterator *
864-
index_create_iterator_xc(struct index *index, enum iterator_type type,
865-
const char *key, uint32_t part_count)
866-
{
867-
struct iterator *it = index_create_iterator(index, type,
868-
key, part_count);
869-
if (it == NULL)
870-
diag_raise();
871-
return it;
872-
}
873-
874-
static inline struct tuple *
875-
iterator_next_xc(struct iterator *it)
876-
{
877-
struct tuple *tuple;
878-
if (iterator_next(it, &tuple) != 0)
879-
diag_raise();
880-
return tuple;
881-
}
882-
883858
#endif /* defined(__plusplus) */
884859

885860
#endif /* TARANTOOL_BOX_INDEX_H_INCLUDED */

0 commit comments

Comments
 (0)