mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
parent
670efa8f64
commit
e90e80a2f6
@ -41,11 +41,11 @@ otexrowstream::otexrowstream(odocstream & os, bool enable)
|
||||
otexrowstream::~otexrowstream() = default;
|
||||
|
||||
|
||||
unique_ptr<TexRow> && otexrowstream::releaseTexRow()
|
||||
unique_ptr<TexRow> otexrowstream::releaseTexRow()
|
||||
{
|
||||
auto p = make_unique<TexRow>();
|
||||
swap(texrow_, p);
|
||||
return move(p);
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ public:
|
||||
///
|
||||
TexRow & texrow() { return *texrow_; }
|
||||
///
|
||||
unique_ptr<TexRow> && releaseTexRow();
|
||||
unique_ptr<TexRow> releaseTexRow();
|
||||
///
|
||||
void put(char_type const & c);
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user