Skip to content

Commit 9c7e59c

Browse files
committed
Blank space tidy
1 parent 3f59046 commit 9c7e59c

5 files changed

Lines changed: 19 additions & 19 deletions

File tree

clink/app/src/history/history_db.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class ReadLock
179179
public:
180180
FileIter() = default;
181181
FileIter(const ReadLock& lock, char* buffer, int32 buffer_size);
182-
template <int32 S> FileIter(const ReadLock& lock, char (&buffer)[S]);
182+
template <int32 S> FileIter(const ReadLock& lock, char (&buffer)[S]);
183183
uint32 next(uint32 rollback=0);
184184
uint32 get_buffer_offset() const { return _buffer_offset; }
185185
char* get_buffer() const { return _buffer; }
@@ -199,7 +199,7 @@ class ReadLock
199199
public:
200200
LineIter() = default;
201201
LineIter(const ReadLock& lock, char* buffer, int32 buffer_size);
202-
template <int32 S> LineIter(const ReadLock& lock, char (&buffer)[S]);
202+
template <int32 S> LineIter(const ReadLock& lock, char (&buffer)[S]);
203203
LineIdImpl next(StrIter& out);
204204

205205
private:

clink/app/src/history/history_db.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class HistoryDb
4343
bool remove(LineId id);
4444
LineId find(const char* line) const;
4545
ExpandResult expand(const char* line, StrBase& out) const;
46-
template <int32 S> Iter read_lines(char (&buffer)[S]);
46+
template <int32 S> Iter read_lines(char (&buffer)[S]);
4747
Iter read_lines(char* buffer, uint32 buffer_size);
4848

4949
private:

clink/core/include/core/str.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -358,26 +358,26 @@ class StrBase : public StrImpl<char>
358358
{
359359
public:
360360
template <int32 I> StrBase(char (&data)[I]) : StrImpl<char>(data, I - 1) {}
361-
StrBase(char* data, int32 size) : StrImpl<char>(data, size) {}
362-
StrBase(const StrBase&) = delete;
363-
StrBase(const StrBase&&) = delete;
364-
int32 from_utf16(const wchar_t* utf16) { clear(); return to_utf8(*this, utf16); }
365-
void operator = (const char* value) { copy(value); }
366-
void operator = (const wchar_t* value) { from_utf16(value); }
367-
void operator = (const StrBase& rhs) = delete;
361+
StrBase(char* data, int32 size) : StrImpl<char>(data, size) {}
362+
StrBase(const StrBase&) = delete;
363+
StrBase(const StrBase&&) = delete;
364+
int32 from_utf16(const wchar_t* utf16) { clear(); return to_utf8(*this, utf16); }
365+
void operator = (const char* value) { copy(value); }
366+
void operator = (const wchar_t* value) { from_utf16(value); }
367+
void operator = (const StrBase& rhs) = delete;
368368
};
369369

370370
class WstrBase : public StrImpl<wchar_t>
371371
{
372372
public:
373373
template <int32 I> WstrBase(char (&data)[I]) : StrImpl<wchar_t>(data, I - 1) {}
374-
WstrBase(wchar_t* data, int32 size) : StrImpl<wchar_t>(data, size) {}
375-
WstrBase(const WstrBase&) = delete;
376-
WstrBase(const WstrBase&&) = delete;
377-
int32 from_utf8(const char* utf8) { clear(); return to_utf16(*this, utf8); }
378-
void operator = (const wchar_t* value) { copy(value); }
379-
void operator = (const char* value) { from_utf8(value); }
380-
void operator = (const WstrBase&) = delete;
374+
WstrBase(wchar_t* data, int32 size) : StrImpl<wchar_t>(data, size) {}
375+
WstrBase(const WstrBase&) = delete;
376+
WstrBase(const WstrBase&&) = delete;
377+
int32 from_utf8(const char* utf8) { clear(); return to_utf16(*this, utf8); }
378+
void operator = (const wchar_t* value) { copy(value); }
379+
void operator = (const char* value) { from_utf8(value); }
380+
void operator = (const WstrBase&) = delete;
381381
};
382382

383383

clink/terminal/include/terminal/ecma48_iter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Ecma48Code
6363
uint32 get_length() const { return _length; }
6464
Type get_type() const { return _type; }
6565
uint32 get_code() const { return _code; }
66-
template <int32 S> bool decode_csi(Csi<S>& out) const;
66+
template <int32 S> bool decode_csi(Csi<S>& out) const;
6767
bool get_c1_str(StrBase& out) const;
6868

6969
private:

clink/terminal/include/terminal/terminal_out.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TerminalOut
1313
virtual void begin() = 0;
1414
virtual void end() = 0;
1515
virtual void write(const char* chars, int32 length) = 0;
16-
template <int32 S> void write(const char (&chars)[S]);
16+
template <int32 S> void write(const char (&chars)[S]);
1717
virtual void flush() = 0;
1818
virtual int32 get_columns() const = 0;
1919
virtual int32 get_rows() const = 0;

0 commit comments

Comments
 (0)