mirror of https://github.com/KLayout/klayout.git
Bugfix: reload was not working properly
This commit is contained in:
parent
4a2143d234
commit
db0e9efe31
|
|
@ -1762,7 +1762,7 @@ read_db_from_layout (rdb::Database *db, tl::InputStream &is)
|
|||
}
|
||||
|
||||
void
|
||||
Database::load (const std::string &fn)
|
||||
Database::load (std::string fn)
|
||||
{
|
||||
tl::log << "Loading RDB from " << fn;
|
||||
|
||||
|
|
|
|||
|
|
@ -2455,8 +2455,10 @@ public:
|
|||
* @brief Load the database from a file
|
||||
*
|
||||
* Note: This clears the existing database.
|
||||
* The argument intentionally is a copy, so we can call
|
||||
* "load (this->filename ())" for reloading.
|
||||
*/
|
||||
void load (const std::string &filename);
|
||||
void load (std::string filename);
|
||||
|
||||
/**
|
||||
* @brief Applies the attributes from a different database
|
||||
|
|
|
|||
Loading…
Reference in New Issue