Explorar el Código

MSVC flag for extended alignment added as option

add-code-of-conduct-1
Trevor Irons hace 6 años
padre
commit
0171b9235d
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  1. 5
    0
      CMakeLists.txt
  2. 1
    1
      Modules/FDEM1D/include/GQChave.h

+ 5
- 0
CMakeLists.txt Ver fichero

277
 	endif()
277
 	endif()
278
 endif()
278
 endif()
279
 
279
 
280
+option( MSVC_EXTENDED_ALIGNMENT "Turn on MSVC compiler definition _ENABLE_EXTENDED_ALIGNED_STORAGE " OFF  )
281
+if (MSVC_EXTENDED_ALIGNMENT)
282
+    add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
283
+endif()
284
+
280
 ####################
285
 ####################
281
 # Magic rpath flag
286
 # Magic rpath flag
282
 ####################
287
 ####################

+ 1
- 1
Modules/FDEM1D/include/GQChave.h Ver fichero

43
             GQChave ( const YAML::Node& node, const ctor_key& );
43
             GQChave ( const YAML::Node& node, const ctor_key& );
44
 
44
 
45
             /// Default destructor
45
             /// Default destructor
46
-			~GQChave ();
46
+			virtual ~GQChave ();
47
 
47
 
48
             /**
48
             /**
49
              *  Returns shared_ptr to new GQChave.
49
              *  Returns shared_ptr to new GQChave.

Loading…
Cancelar
Guardar