Forráskód Böngészése

Merge pull request #8903 from ghalliday/issue15947

HPCC-15947 Fix missing __declspec on class causing windows link error

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 9 éve
szülő
commit
88336e16da
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      common/thorhelper/thorstats.hpp

+ 2 - 1
common/thorhelper/thorstats.hpp

@@ -20,10 +20,11 @@
 #ifndef THORSTATS_HPP
 #define THORSTATS_HPP
 
+#include "thorhelper.hpp"
 #include "eclhelper.hpp"
 #include "jstats.h"
 
-class ThorSectionTimer : public CSimpleInterfaceOf<ISectionTimer>
+class THORHELPER_API ThorSectionTimer : public CSimpleInterfaceOf<ISectionTimer>
 {
 public:
     static ThorSectionTimer * createTimer(CRuntimeStatisticCollection & _stats, const char * _name);