MCPcopy Create free account
hub / github.com/davisking/dlib / revert

Method revert

dlib/misc_api/misc_api_shared.h:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 void revert (
38 )
39 {
40 if (!reverted)
41 {
42 set_current_dir(_old_dir);
43 reverted = true;
44 }
45 }
46
47 private:
48 bool reverted;

Callers 1

tile_datasetFunction · 0.80

Calls 1

set_current_dirFunction · 0.70

Tested by

no test coverage detected