File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -101,17 +101,3 @@ temp_dirt::~temp_dirt()
101
101
{
102
102
clear ();
103
103
}
104
-
105
- temp_working_dirt::temp_working_dirt (const std::string &name_template):
106
- temp_dirt(name_template)
107
- {
108
- old_working_directory=get_current_working_directory ();
109
- if (chdir (path.c_str ())!=0 )
110
- CHECK_RETURN (false );
111
- }
112
-
113
- temp_working_dirt::~temp_working_dirt ()
114
- {
115
- if (chdir (old_working_directory.c_str ())!=0 )
116
- CHECK_RETURN (false );
117
- }
Original file line number Diff line number Diff line change @@ -29,17 +29,4 @@ class temp_dirt
29
29
~temp_dirt ();
30
30
};
31
31
32
- // Produces a temporary directory,
33
- // chdir()s there,
34
- // and deletes it upon destruction,
35
- // and goes back to the old working directory.
36
- class temp_working_dirt :public temp_dirt
37
- {
38
- public:
39
- std::string old_working_directory;
40
-
41
- explicit temp_working_dirt (const std::string &name_template);
42
- ~temp_working_dirt ();
43
- };
44
-
45
32
#endif // CPROVER_UTIL_TEMPDIR_H
You can’t perform that action at this time.
0 commit comments