]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Small syntax fix for MSVC. 533/head
authorLukas Korous <lukas.korous@gmail.com>
Fri, 13 Feb 2015 13:40:54 +0000 (14:40 +0100)
committerLukas Korous <lukas.korous@gmail.com>
Fri, 13 Feb 2015 13:53:26 +0000 (14:53 +0100)
include/deal.II/lac/parallel_vector.h

index 15885c47300df1434e20830522001b19a5be4e77..16165db2e906ecfc9f6c62dccc794d98e0953b9f 100644 (file)
@@ -1257,7 +1257,11 @@ namespace parallel
     Vector<Number> &
     Vector<Number>::operator = (const Vector<Number> &c)
     {
+#ifdef _MSC_VER
+      return this->operator=<Number>(c);
+#else
       return this->template operator=<Number>(c);
+#endif
     }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.