-File::File(const char*fullpath, void *userdata) {
- // this cannot fail because we get a xbt_die if the mountpoint does not exist
- p_inferior = simcall_file_open(fullpath, Host::current()->inferior());
- p_path = fullpath;
+File::File(const char* fullpath, void* userdata) : path_(fullpath)
+{
+ // this cannot fail because we get a xbt_die if the mountpoint does not exist
+ pimpl_ = simcall_file_open(fullpath, Host::current());