Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1064 for code/trunk/src/core


Ignore:
Timestamp:
Apr 14, 2008, 9:39:57 PM (17 years ago)
Author:
rgrieder
Message:
  • replaced all String2Number with ConvertValue
  • replaced all tokenize with SubString
  • dealt with warnings under msvc
  • removed some warnings by placing casts
  • bugfix in audio: local variable pushed into member variable std::vector
  • updated StableHeaders.h
Location:
code/trunk/src/core
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/CommandExecutor.h

    r1062 r1064  
    161161        private:
    162162            CommandExecutor() {}
    163             CommandExecutor(const CommandExecutor& other) {}
     163            CommandExecutor(const CommandExecutor& other);
    164164            ~CommandExecutor() {}
    165165
  • code/trunk/src/core/ConfigFileManager.h

    r1062 r1064  
    286286        private:
    287287            ConfigFileManager();
    288             ConfigFileManager(const ConfigFileManager& other) {}
     288            ConfigFileManager(const ConfigFileManager& other);
    289289            ~ConfigFileManager();
    290290
  • code/trunk/src/core/CoreSettings.h

    r1062 r1064  
    6161
    6262            CoreSettings();
    63             CoreSettings(const CoreSettings& other) {}
     63            CoreSettings(const CoreSettings& other);
    6464            virtual ~CoreSettings();
    6565
  • code/trunk/src/core/Factory.h

    r1062 r1064  
    7171        private:
    7272            Factory() {}                            // don't create
    73             Factory(const Factory& factory) {}      // don't copy
     73            Factory(const Factory& factory)      // don't copy
    7474            ~Factory() {}                           // don't delete
    7575
  • code/trunk/src/core/Functor.h

    r1062 r1064  
    429429
    430430
    431 
     431// disable annoying warning about forcing value to boolean
     432#if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
     433#pragma warning(push)
     434#pragma warning(disable:4100 4800)
     435#endif
    432436
    433437#define CREATE_ALL_STATIC_FUNCTORS() \
     
    465469}
    466470
     471#if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
     472#pragma warning(pop)
     473#endif
     474
    467475#endif /* _Functor_H__ */
  • code/trunk/src/core/Identifier.h

    r1063 r1064  
    225225        private:
    226226            Identifier();
    227             Identifier(const Identifier& identifier) {} // don't copy
     227            Identifier(const Identifier& identifier); // don't copy
    228228            virtual ~Identifier();
    229229            void initialize(std::set<const Identifier*>* parents);
  • code/trunk/src/core/IdentifierDistributor.h

    r1062 r1064  
    5353        private:
    5454            IdentifierDistributor() {};                                         // Don't create
    55             IdentifierDistributor(const IdentifierDistributor& distributor) {}  // Don't copy
     55            IdentifierDistributor(const IdentifierDistributor& distributor)  // Don't copy
    5656            ~IdentifierDistributor() {}                                         // Don't delete
    5757
  • code/trunk/src/core/Language.h

    r1062 r1064  
    123123        private:
    124124            Language();
    125             Language(const Language& language) {}   // don't copy
     125            Language(const Language& language)   // don't copy
    126126            virtual ~Language() {};                 // don't delete
    127127
  • code/trunk/src/core/OutputHandler.h

    r1062 r1064  
    114114        private:
    115115            explicit OutputHandler(const std::string& logfilename);
    116             OutputHandler(const OutputHandler& oh) {}; // don't copy
     116            OutputHandler(const OutputHandler& oh); // don't copy
    117117            virtual ~OutputHandler();
    118118            std::ofstream logfile_;     //!< The logfile where the output is logged
Note: See TracChangeset for help on using the changeset viewer.