Skip to content

Commit ebf78f9

Browse files
authored
Merge pull request #495 from JuliaRobotics/hotfix/2Q20/deploaddfg
help with #494 cases
2 parents 2f4e1a1 + aee632d commit ebf78f9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Deprecated.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ GraphsDFG{T}(args...; kwargs...) where T = GraphsDFG{T}()
2626

2727
@deprecate getInternalId(args...) error("getInternalId is no longer in use")
2828

29-
@deprecate loadDFG(source::String, iifModule::Module, dest::AbstractDFG) loadDFG!(dest, source)
29+
@deprecate loadDFG(source::AbstractString, iifModule::Module, dest::AbstractDFG) loadDFG!(dest, source)
30+
@deprecate loadDFG(dest::AbstractDFG, source::AbstractString) loadDFG!(dest, source)
3031

3132
# leave a bit longer
3233
export buildSubgraphFromLabels!

src/FileDFG/services/FileDFG.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ v1 = addVariable!(dfg, :a, ContinuousScalar, labels = [:POSE], solvable=0)
1717
saveDFG(dfg, "/tmp/saveDFG.tar.gz")
1818
```
1919
"""
20-
function saveDFG( dfg::AbstractDFG, folder::String )
20+
function saveDFG( dfg::AbstractDFG, folder::AbstractString )
2121

2222
# TODO: Deprecate the folder functionality in v0.6.1
2323

@@ -82,7 +82,7 @@ loadDFG("/tmp/savedgraph.tar.gz", IncrementalInference, dfg)
8282
ls(dfg)
8383
```
8484
"""
85-
function loadDFG!(dfgLoadInto::AbstractDFG, dst::String)
85+
function loadDFG!(dfgLoadInto::AbstractDFG, dst::AbstractString)
8686

8787

8888
#

0 commit comments

Comments
 (0)