ext/include/iv/location.h in iv-phonic-0.0.3 vs ext/include/iv/location.h in iv-phonic-0.0.5
- old
+ new
@@ -13,9 +13,15 @@
return begin_position_;
}
inline std::size_t end_position() const {
return end_position_;
}
+ inline void set_begin_position(std::size_t begin) {
+ begin_position_ = begin;
+ }
+ inline void set_end_position(std::size_t end) {
+ end_position_ = end;
+ }
};
IV_STATIC_ASSERT(std::tr1::is_pod<Location>::value);
} } // namespace iv::core