Browse Source

msvc compatibility

Nicolas Winkler 5 năm trước cách đây
mục cha
commit
a67dcd4bd7
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 2 2
      choosegenerators.cpp
  2. 2 2
      libmandel/src/IterationGenerator.cpp

+ 2 - 2
choosegenerators.cpp

@@ -1,7 +1,8 @@
 #include "choosegenerators.h"
 #include "ui_choosegenerators.h"
 
-#include "Hardware.h"
+#include <Hardware.h>
+#include <IterationCompiler.h>
 
 #include <QComboBox>
 #include <QRegExp>
@@ -298,7 +299,6 @@ void ChooseGenerators::on_generatorTable_cellDoubleClicked(int row, int column)
     }
 }
 
-#include <IterationCompiler.h>
 
 void ChooseGenerators::on_compile_clicked()
 {

+ 2 - 2
libmandel/src/IterationGenerator.cpp

@@ -125,7 +125,7 @@ std::complex<double> NaiveGenerator::calc(mnd::Expression& expr, std::complex<do
 }
 
 
-NaiveIRGenerator::NaiveIRGenerator(const ir::Formula& irf,
+NaiveIRGenerator::NaiveIRGenerator(const mnd::ir::Formula& irf,
                                    const mnd::Real& prec) :
     mnd::MandelGenerator{ prec },
     form{ irf }
@@ -171,7 +171,7 @@ void NaiveIRGenerator::generate(const mnd::MandelInfo& info, float* data)
 }
 
 
-double NaiveIRGenerator::calc(ir::Node* expr, double a, double b, double x, double y)
+double NaiveIRGenerator::calc(mnd::ir::Node* expr, double a, double b, double x, double y)
 {
     struct DoubleVisitor
     {