| 25 | }; |
| 26 | |
| 27 | RepopNewLrl_impl::RepopNewLrl_impl(const std::string& dbname, |
| 28 | const std::string& request) |
| 29 | { |
| 30 | try |
| 31 | { |
| 32 | mp_appsock.reset(new Appsock(dbname, request)); |
| 33 | } |
| 34 | catch(Error& e) |
| 35 | { |
| 36 | std::clog << "Repopulate lrl appsock failed: " << e.what() << std::endl; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | RepopNewLrl::RepopNewLrl(const std::string& dbname, |
| 41 | const std::string& main_lrl_file, const std::string& new_lrl_file, |