Skip to content

Commit aee632d

Browse files
authored
allow ::AbstractString
1 parent e7fcedb commit aee632d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)