r23019 by jghali - Fix incorrect changes introduced by r23017 in sccieilluminants.h and sccieobservers.h headers

scribus-commit scribus-commit at lists.scribus.net
Tue Jun 11 19:25:49 UTC 2019


Author: jghali
Date: Tue Jun 11 19:25:49 2019
New Revision: 23019

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23019
Log:
Fix incorrect changes introduced by r23017 in sccieilluminants.h and sccieobservers.h headers

Modified:
    trunk/Scribus/scribus/colormgmt/sccieilluminants.h
    trunk/Scribus/scribus/colormgmt/sccieobservers.h

Modified: trunk/Scribus/scribus/colormgmt/sccieilluminants.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23019&path=/trunk/Scribus/scribus/colormgmt/sccieilluminants.h
==============================================================================
--- trunk/Scribus/scribus/colormgmt/sccieilluminants.h	(original)
+++ trunk/Scribus/scribus/colormgmt/sccieilluminants.h	Tue Jun 11 19:25:49 2019
@@ -14,7 +14,7 @@
 class ScCIEIlluminant
 {
 public:
-	~ScCIEIlluminant() = default;
+	virtual ~ScCIEIlluminant() = default;
 	
 	// Relative illuminant power for specified wavelength
 	double power(int waveLen) const { return m_pow.value(waveLen, 0.0); }
@@ -29,14 +29,14 @@
 
 class ScD50Illuminant : public ScCIEIlluminant
 {
-	public:
-		ScD50Illuminant();
+public:
+	ScD50Illuminant();
 };
 
 class ScD65Illuminant : public ScCIEIlluminant
 {
-	public:
-		ScD65Illuminant();
+public:
+	ScD65Illuminant();
 };
 
 #endif // SCCIEILLUMINANTS_H

Modified: trunk/Scribus/scribus/colormgmt/sccieobservers.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23019&path=/trunk/Scribus/scribus/colormgmt/sccieobservers.h
==============================================================================
--- trunk/Scribus/scribus/colormgmt/sccieobservers.h	(original)
+++ trunk/Scribus/scribus/colormgmt/sccieobservers.h	Tue Jun 11 19:25:49 2019
@@ -14,7 +14,7 @@
 class ScCIEObserver
 {
 public:
-	~ScCIEObserver() = default;
+	virtual ~ScCIEObserver() = default;
 
 	// Wavelengths represented in the data set
 	QVector<int> wavelengths() const;
@@ -36,14 +36,14 @@
 
 class ScCIE1931Observer : public ScCIEObserver
 {
-	public:
-		ScCIE1931Observer();
+public:
+	ScCIE1931Observer();
 };
 
 class ScCIE1964Observer : public ScCIEObserver
 {
-	public:
-		ScCIE1964Observer();
+public:
+	ScCIE1964Observer();
 };
 
 #endif // SCCIEOBSERVERS_H




More information about the scribus-commit mailing list