projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d71cadd
)
Fix OS X build.
author
Carl Hetherington
<cth@carlh.net>
Wed, 28 Oct 2015 12:48:22 +0000
(12:48 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 28 Oct 2015 12:48:22 +0000
(12:48 +0000)
src/lib/cross.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index 02cdfd444d81b0598a5875ac074169683ff5b12a..24abf2c0a99a64a74df01f814394f7417148a7cc 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-56,6
+56,7
@@
using std::ifstream;
using std::string;
using std::wstring;
using std::make_pair;
+using std::runtime_error;
using boost::shared_ptr;
/** @param s Number of seconds to sleep for */
@@
-140,7
+141,7
@@
app_contents ()
uint32_t size = 1024;
char buffer[size];
if (_NSGetExecutablePath (buffer, &size)) {
- throw
StringE
rror ("_NSGetExecutablePath failed");
+ throw
runtime_e
rror ("_NSGetExecutablePath failed");
}
boost::filesystem::path path (buffer);