mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 15:59:18 +02:00
reformat: functions can be made static
This commit is contained in:
@@ -182,7 +182,8 @@ buffer_manager::find_buffer( std::string const &Buffername ) const {
|
||||
}
|
||||
|
||||
std::string
|
||||
buffer_manager::find_file( std::string const &Filename ) const {
|
||||
buffer_manager::find_file( std::string const &Filename )
|
||||
{
|
||||
|
||||
auto const lookup {
|
||||
FileExists(
|
||||
|
||||
@@ -69,8 +69,8 @@ private:
|
||||
buffer_handle
|
||||
find_buffer( std::string const &Buffername ) const;
|
||||
// checks whether specified file exists. returns: name of the located file, or empty string.
|
||||
std::string
|
||||
find_file( std::string const &Filename ) const;
|
||||
static std::string
|
||||
find_file( std::string const &Filename );
|
||||
// members
|
||||
buffer_sequence m_buffers;
|
||||
index_map m_buffermappings;
|
||||
|
||||
Reference in New Issue
Block a user