Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dispatcher::get_{dispatch_chars,OSC_string}: Make const

Found by cppcheck

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information...
commit 64f7f7abb215649657b0625604288e7cb99aa3bd 1 parent 8c5ded4
@andersk andersk authored committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/terminal/terminaldispatcher.h
View
4 src/terminal/terminaldispatcher.h
@@ -107,8 +107,8 @@ namespace Terminal {
std::string str( void );
void dispatch( Function_Type type, const Parser::Action *act, Framebuffer *fb );
- std::string get_dispatch_chars( void ) { return dispatch_chars; }
- std::vector<wchar_t> get_OSC_string( void ) { return OSC_string; }
+ std::string get_dispatch_chars( void ) const { return dispatch_chars; }
+ std::vector<wchar_t> get_OSC_string( void ) const { return OSC_string; }
void OSC_put( const Parser::OSC_Put *act );
void OSC_start( const Parser::OSC_Start *act );
Please sign in to comment.
Something went wrong with that request. Please try again.