Changeset 91393 in vbox for trunk/src/VBox
- Timestamp:
- Sep 27, 2021 12:39:49 PM (3 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/VirtualBoxTranslator.h
r91391 r91393 37 37 static VirtualBoxTranslator *instance(); 38 38 /* Returns instance if exists, returns NULL otherwise. */ 39 static VirtualBoxTranslator *tryInstance() ;39 static VirtualBoxTranslator *tryInstance() RT_NOEXCEPT; 40 40 void release(); 41 41 … … 94 94 const char *aSourceText, 95 95 const char *aComment = NULL, 96 const int aNum = -1) ;96 const int aNum = -1) RT_NOEXCEPT; 97 97 98 98 /** … … 100 100 * Otherwise, the pszTranslation itself returned. 101 101 */ 102 static const char *trSource(const char *aTranslation) ;102 static const char *trSource(const char *aTranslation) RT_NOEXCEPT; 103 103 104 104 /* Convenience function used by VirtualBox::init */ … … 143 143 const char *aSourceText, 144 144 const char *aComment = NULL, 145 const int aNum = -1) ;145 const int aNum = -1) RT_NOEXCEPT; 146 146 }; 147 147 -
trunk/src/VBox/Main/src-all/QMTranslatorImpl.cpp
r91392 r91393 415 415 const char *pszDisamb, 416 416 const int aNum, 417 const char **ppszSafeSource) const 417 const char **ppszSafeSource) const RT_NOEXCEPT 418 418 { 419 419 QMHashSetConstIter lowerIter, upperIter; -
trunk/src/VBox/Main/src-all/VirtualBoxTranslator.cpp
r91392 r91393 150 150 151 151 /* static */ 152 VirtualBoxTranslator *VirtualBoxTranslator::tryInstance() 152 VirtualBoxTranslator *VirtualBoxTranslator::tryInstance() RT_NOEXCEPT 153 153 { 154 154 int rc = RTOnce(&g_Once, initLock, NULL); … … 431 431 const char *aSourceText, 432 432 const char *aComment, 433 const int aNum) 433 const int aNum) RT_NOEXCEPT 434 434 { 435 435 VirtualBoxTranslator *pCurrInstance = VirtualBoxTranslator::tryInstance(); … … 474 474 const char *aSourceText, 475 475 const char *aComment, 476 const int aNum) 476 const int aNum) RT_NOEXCEPT 477 477 { 478 478 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); … … 501 501 502 502 503 const char *VirtualBoxTranslator::trSource(const char *aTranslation) 503 const char *VirtualBoxTranslator::trSource(const char *aTranslation) RT_NOEXCEPT 504 504 { 505 505 const char *pszSource = aTranslation;
Note:
See TracChangeset
for help on using the changeset viewer.