]> git.mxchange.org Git - flightgear.git/commitdiff
Convert PKGLIBDIR to SGPath before returing it to prevent a compiler error
authorErik Hofman <erik@ehofman.com>
Fri, 24 Jun 2016 10:54:01 +0000 (12:54 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:37 +0000 (23:27 +0200)
src/Main/options.cxx

index 75199e7441eed7c97822d4ed734bbf9374a57dff..2b73c51228b86bf1c0d29d5873f544d486715406 100644 (file)
@@ -2561,7 +2561,7 @@ SGPath Options::platformDefaultRoot() const
 #else
 SGPath Options::platformDefaultRoot() const
 {
-  return PKGLIBDIR;
+  return SGPath(PKGLIBDIR);
 }
 #endif