]> www.ginac.de Git - ginac.git/blobdiff - doc/examples/archive1.cpp
Make C++ files in doc/examples/ compile again.
[ginac.git] / doc / examples / archive1.cpp
index c20db620a71d16e7305ae36c23deb7122e274e40..6361beccd60fa7d75d140e44b28b12597a1bf8d9 100644 (file)
@@ -32,8 +32,7 @@ int main()
        ifstream in("foobar.gar");
        in >> a2;
 
-       lst syms;
-       syms = x, y;
+       lst syms = {x, y};
 
        ex ex1 = a2.unarchive_ex(syms, "foo");
        ex ex2 = a2.unarchive_ex(syms, "the second one");