stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r613232 - in /stdcxx/trunk/examples: include/stocks.h tutorial/stocks.cpp
Date Fri, 18 Jan 2008 19:21:05 GMT
Author: vitek
Date: Fri Jan 18 11:20:58 2008
New Revision: 613232

URL: http://svn.apache.org/viewvc?rev=613232&view=rev
Log:

2008-01-18  Travis Vitek  <vitek@roguewave.com>

	* examples/include/stocks.h: Change class name from
	FrankFurtStockXchange to FrankfurtStockXchange for
	correctness.
	* examples/tutorial/stocks.cpp (main): Ditto.


Modified:
    stdcxx/trunk/examples/include/stocks.h
    stdcxx/trunk/examples/tutorial/stocks.cpp

Modified: stdcxx/trunk/examples/include/stocks.h
URL: http://svn.apache.org/viewvc/stdcxx/trunk/examples/include/stocks.h?rev=613232&r1=613231&r2=613232&view=diff
==============================================================================
--- stdcxx/trunk/examples/include/stocks.h (original)
+++ stdcxx/trunk/examples/include/stocks.h Fri Jan 18 11:20:58 2008
@@ -192,9 +192,9 @@
 }; 
 
 
-struct FrankFurtStockXchange: public StockXchange
+struct FrankfurtStockXchange: public StockXchange
 {
-    FrankFurtStockXchange (std::size_t refs = 0)
+    FrankfurtStockXchange (std::size_t refs = 0)
         : StockXchange (refs) { }
 
     virtual void localTime(std::ostream& os) const {

Modified: stdcxx/trunk/examples/tutorial/stocks.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/examples/tutorial/stocks.cpp?rev=613232&r1=613231&r2=613232&view=diff
==============================================================================
--- stdcxx/trunk/examples/tutorial/stocks.cpp (original)
+++ stdcxx/trunk/examples/tutorial/stocks.cpp Fri Jan 18 11:20:58 2008
@@ -150,7 +150,7 @@
     if (!p)
         std::cerr<< "\nNot a valid locale: " << GERMAN_LOCALE << '\n';
     else {
-        FrankFurtStockXchange *fse = new FrankFurtStockXchange;   
+        FrankfurtStockXchange *fse = new FrankfurtStockXchange;   
         fse->add ("B\166rsen-Software", 9.75);
         fse->add ("M\174nchner R\174ck", 19.75);
     



Mime
View raw message