Fix weak vtables

This commit is contained in:
Roland Winklmeier
2018-08-24 15:25:47 +02:00
parent 4cf3bc580f
commit 5e38936fd2
30 changed files with 133 additions and 8 deletions

View File

@@ -56,6 +56,8 @@ namespace BlackMisc
struct StatuteMilesToMeters { static double factor() { return 1609.3472; } };
using MetersToMeters = One;
virtual void anchor();
public:
//! Base type
using base_type = CMeasurementUnit;
@@ -271,6 +273,8 @@ namespace BlackMisc
using HertzToHertz = One;
virtual void anchor();
public:
//! Base type
using base_type = CMeasurementUnit;
@@ -362,6 +366,8 @@ namespace BlackMisc
using GramsToKilograms = Milli<One>;
struct PoundsToKilograms { static double factor() { return 0.45359237; } };
virtual void anchor();
public:
//! Base type
using base_type = CMeasurementUnit;
@@ -464,6 +470,8 @@ namespace BlackMisc
struct InchesToHectopascals { static double factor() { return 33.86389; } };
struct MillimetersToHectopascals { static double factor() { return 860.142806; } };
virtual void anchor();
public:
//! Base type
using base_type = CMeasurementUnit;
@@ -589,6 +597,8 @@ namespace BlackMisc
static double offset() { return 32.0; }
};
virtual void anchor();
public:
//! Base type
using base_type = CMeasurementUnit;
@@ -673,6 +683,8 @@ namespace BlackMisc
struct FtPerSecToMps { static double factor() { return 0.3048 ; } };
struct FtPerMinToMps { static double factor() { return 0.3048 / 60.0; } };
virtual void anchor();
public:
//! Base type
using base_type = CMeasurementUnit;
@@ -918,6 +930,8 @@ namespace BlackMisc
struct FeetToMeters { static double factor() { return 0.3048; } };
virtual void anchor();
public:
//! Base type
using base_type = CMeasurementUnit;