Skip to content

Commit

Permalink
Upgraded dependencies & fixed deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
CromFr committed Nov 28, 2022
1 parent 403d0e0 commit a8b66ef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors "Thibaut CHARLES (CromFr)"
targetType "library"
targetName "nwn-d"
stringImportPaths "unittest"
dependency "gfm:math" version="~>7.0.0"
dependency "gfm:math" version="~>8.0.6"
preBuildCommands `echo "/// nwn-lib-d version
module nwn.ver;

Expand Down
5 changes: 3 additions & 2 deletions dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"fileVersion": 1,
"versions": {
"gfm": "7.0.8",
"gl3n": "1.3.1"
"gfm": "8.0.6",
"gl3n": "1.3.1",
"intel-intrinsics": "1.10.10"
}
}
2 changes: 1 addition & 1 deletion source/nwn/gff.d
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ struct GffStruct {

@property{
/// GffStruct children associative array
ref inout(ChildrenAA) children() inout {
ref inout(ChildrenAA) children() inout return {
return *cast(inout(ChildrenAA)*)(&m_children);
}
/// ditto
Expand Down
4 changes: 2 additions & 2 deletions source/nwnlibd/orderedjson.d
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ struct JSONValue
(*a)["hello"] = "world"; // segmentation fault
---
*/
@property ref inout(JSONValue[string]) object() inout pure @system
@property ref inout(JSONValue[string]) object() inout pure @system return
{
enforce!JSONException(type == JSONType.object,
"JSONValue is not an object");
Expand Down Expand Up @@ -327,7 +327,7 @@ struct JSONValue
(*a)[0] = "world"; // segmentation fault
---
*/
@property ref inout(JSONValue[]) array() inout pure @system
@property ref inout(JSONValue[]) array() inout pure @system return
{
enforce!JSONException(type == JSONType.array,
"JSONValue is not an array");
Expand Down

0 comments on commit a8b66ef

Please sign in to comment.