summaryrefslogtreecommitdiff
path: root/src/include/synext_macro.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:26:29 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:26:29 +0800
commit9f8d9fa81be1c11b50bc5ced608a3bd18a53de21 (patch)
tree47afd8dc73eac7e3da7f0c5e5b36b05c5dd65be9 /src/include/synext_macro.hpp
parent83dbb728f62306d2e43b2688dd0f2d320fd5b038 (diff)
downloadmrust-9f8d9fa81be1c11b50bc5ced608a3bd18a53de21.tar.gz
Fix build broken by MSVC port
Diffstat (limited to 'src/include/synext_macro.hpp')
-rw-r--r--src/include/synext_macro.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/synext_macro.hpp b/src/include/synext_macro.hpp
index c109b56e..0abaf0fe 100644
--- a/src/include/synext_macro.hpp
+++ b/src/include/synext_macro.hpp
@@ -35,9 +35,9 @@ struct MacroDef
::std::string name;
::std::unique_ptr<ExpandProcMacro> def;
MacroDef(::std::string name, ::std::unique_ptr<ExpandProcMacro> def) :
+ prev(nullptr),
name(::std::move(name)),
- def(::std::move(def)),
- prev(nullptr)
+ def(::std::move(def))
{
Register_Synext_Macro_Static(this);
}